generated from nl-design-system/example
-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8431fb9
commit 872d072
Showing
64 changed files
with
1,516 additions
and
369 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
{ | ||
"utrecht": { | ||
"combobox": { | ||
"max-inline-size": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<length>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "spacing" | ||
}, | ||
"border-color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
}, | ||
"input": { | ||
"container": { | ||
"inline-size": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<length>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "spacing" | ||
} | ||
} | ||
}, | ||
"toggle-button": { | ||
"background-color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
}, | ||
"color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
}, | ||
"hover": { | ||
"background-color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
}, | ||
"color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
} | ||
}, | ||
"active": { | ||
"background-color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
}, | ||
"color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
} | ||
}, | ||
"focus": { | ||
"background-color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
}, | ||
"color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
} | ||
}, | ||
"pressed": { | ||
"background-color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
}, | ||
"color": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<color>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "color" | ||
} | ||
} | ||
}, | ||
"icon": { | ||
"size": { | ||
"$extensions": { | ||
"nl.nldesignsystem.css.property": { | ||
"syntax": "<length>", | ||
"inherits": true | ||
}, | ||
"nl.nldesignsystem.figma.supports-token": true | ||
}, | ||
"type": "spacing" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
packages/component-library-react/packages/combobox-react/jest.config.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { createJestConfig } from '../../jest-component.config.mjs'; | ||
|
||
export default createJestConfig(import.meta.url); |
49 changes: 49 additions & 0 deletions
49
packages/component-library-react/packages/combobox-react/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
{ | ||
"version": "1.0.0", | ||
"author": "Community for NL Design System", | ||
"description": "Button component for the Municipality of Utrecht based on the NL Design System architecture", | ||
"license": "EUPL-1.2", | ||
"name": "@utrecht/combobox-react", | ||
"main": "./dist/index.cjs.js", | ||
"module": "./dist/index.esm.js", | ||
"types": "./dist/index.d.ts", | ||
"files": [ | ||
"dist/", | ||
"src/" | ||
], | ||
"sideEffects": false, | ||
"scripts": { | ||
"build": "rollup -c ./rollup.config.mjs", | ||
"clean": "rimraf dist", | ||
"test": "mkdir -p pages && NODE_OPTIONS=--experimental-vm-modules jest --coverage --verbose" | ||
}, | ||
"devDependencies": { | ||
"@utrecht/combobox-css": "workspace:*", | ||
"@utrecht/textbox-react": "workspace:*", | ||
"@utrecht/listbox-react": "workspace:*", | ||
"@utrecht/form-label-react": "workspace:*", | ||
"@utrecht/form-field-react": "workspace:*", | ||
"@utrecht/button-react": "workspace:*", | ||
"jest": "29.7.0", | ||
"rollup": "4.18.0" | ||
}, | ||
"keywords": [ | ||
"nl-design-system" | ||
], | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"repository": { | ||
"type": "git+ssh", | ||
"url": "[email protected]:nl-design-system/utrecht.git", | ||
"directory": "packages/component-library-react/packages/combobox-react" | ||
}, | ||
"peerDependencies": { | ||
"@babel/runtime": "^7.23.6", | ||
"react": "18", | ||
"react-dom": "18" | ||
}, | ||
"dependencies": { | ||
"downshift": "9.0.8" | ||
} | ||
} |
3 changes: 3 additions & 0 deletions
3
packages/component-library-react/packages/combobox-react/rollup.config.mjs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { createComponentPackageConfig } from '../../rollup-component-package.mjs'; | ||
|
||
export default createComponentPackageConfig(import.meta.url); |
9 changes: 9 additions & 0 deletions
9
packages/component-library-react/packages/combobox-react/src/css.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** | ||
* @license EUPL-1.2 | ||
* Copyright (c) 2020-2025 Frameless B.V. | ||
* Copyright (c) 2021-2025 Gemeente Utrecht | ||
*/ | ||
|
||
import '@utrecht/combobox-css/src/index.scss'; | ||
|
||
export * from './index'; |
Oops, something went wrong.