@randstad-uca/design-system 1.0.121 → 1.0.123
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorate.js +1 -0
- package/dist/_virtual/_@oxc-project_runtime@0.155.0/helpers/esm/decorateMetadata.js +1 -0
- package/dist/autoloader.d.ts +21 -0
- package/dist/autoloader.js +1 -0
- package/dist/components/Accordion.d.ts +1 -0
- package/dist/components/Accordion.js +1 -0
- package/dist/components/AccordionList.js +1 -0
- package/dist/components/Bubble.js +1 -0
- package/dist/components/Button.d.ts +1 -0
- package/dist/components/Button.js +1 -0
- package/dist/components/CalendarOverlay.d.ts +1 -0
- package/dist/components/CalendarOverlay.js +1 -0
- package/dist/components/Carousel.d.ts +1 -0
- package/dist/components/Carousel.js +1 -0
- package/dist/components/CarouselCards.d.ts +1 -0
- package/dist/components/CarouselCards.js +1 -0
- package/dist/components/Checkbox.js +4 -0
- package/dist/components/DatePicker.d.ts +1 -0
- package/dist/components/DatePicker.js +1 -0
- package/dist/components/File.js +1 -0
- package/dist/components/FilterBar.js +1 -0
- package/dist/components/Form.d.ts +1 -0
- package/dist/components/Form.js +1 -0
- package/dist/components/FormGroup.js +1 -0
- package/dist/components/Icon.js +1 -0
- package/dist/components/MfaModal.js +1 -0
- package/dist/components/Modal.d.ts +1 -0
- package/dist/components/Modal.js +1 -0
- package/dist/components/Navbar.d.ts +1 -0
- package/dist/components/Navbar.js +1 -0
- package/dist/components/Notice.d.ts +1 -0
- package/dist/components/Notice.js +1 -0
- package/dist/components/Popup.js +1 -0
- package/dist/components/ProgressCircle.js +1 -0
- package/dist/components/Radio.js +1 -0
- package/dist/components/Select.d.ts +1 -0
- package/dist/components/Select.js +3 -0
- package/dist/components/Snackbar.d.ts +1 -1
- package/dist/components/Snackbar.js +1 -0
- package/dist/components/SocialMediaInput.js +1 -0
- package/dist/components/Stepper.d.ts +1 -0
- package/dist/components/Stepper.js +1 -0
- package/dist/components/Tabs.d.ts +1 -0
- package/dist/components/Tabs.js +1 -0
- package/dist/components/Upload.d.ts +1 -0
- package/dist/components/Upload.js +1 -0
- package/dist/components/icons.js +1 -0
- package/dist/helpers/BaseControl.d.ts +1 -0
- package/dist/helpers/BaseControl.js +1 -0
- package/dist/helpers/BaseUpload.js +1 -0
- package/dist/helpers/filterBarUtils.js +1 -0
- package/dist/index.js +1 -5146
- package/dist/package.json +19 -7
- package/dist/stories/FilterBar.stories.d.ts +1 -0
- package/dist/styles/error.js +1 -0
- package/dist/styles/focus.js +1 -0
- package/dist/styles/fontStyles.js +1 -0
- package/dist/styles/globalStyles.js +26 -0
- package/dist/styles/mix.js +1 -0
- package/dist/styles/progress-bar-upload.js +1 -0
- package/dist/styles/scrollbar.js +1 -0
- package/dist/styles/tooltip.js +1 -0
- package/dist/utils/file-format.js +1 -0
- package/package.json +19 -7
- package/dist/index.js.map +0 -1
package/dist/package.json
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@randstad-uca/design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.123",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./autoloader": {
|
|
13
|
+
"types": "./dist/autoloader.d.ts",
|
|
14
|
+
"default": "./dist/autoloader.js"
|
|
15
|
+
},
|
|
16
|
+
"./components/*": {
|
|
17
|
+
"types": "./dist/components/*.d.ts",
|
|
18
|
+
"default": "./dist/components/*.js"
|
|
19
|
+
},
|
|
20
|
+
"./*": "./*"
|
|
21
|
+
},
|
|
6
22
|
"files": [
|
|
7
23
|
"dist",
|
|
8
24
|
"dist/randstad-design-system.css"
|
|
@@ -14,7 +30,7 @@
|
|
|
14
30
|
"storybook-live": "storybook dev -p 6006",
|
|
15
31
|
"build-test": "storybook build",
|
|
16
32
|
"generate-icons": "node src/utils/generateIconList.cjs",
|
|
17
|
-
"build": "rm -rf dist &&
|
|
33
|
+
"build": "rm -rf dist && rolldown -c",
|
|
18
34
|
"postbuild": "node src/utils/stripCssTypeImports.cjs"
|
|
19
35
|
},
|
|
20
36
|
"keywords": [],
|
|
@@ -23,10 +39,6 @@
|
|
|
23
39
|
"description": "",
|
|
24
40
|
"devDependencies": {
|
|
25
41
|
"@chromatic-com/storybook": "^3.2.7",
|
|
26
|
-
"@rollup/plugin-commonjs": "^28.0.6",
|
|
27
|
-
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
28
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
29
|
-
"@rollup/plugin-typescript": "^12.1.4",
|
|
30
42
|
"@storybook/addon-essentials": "^8.6.14",
|
|
31
43
|
"@storybook/blocks": "^8.6.14",
|
|
32
44
|
"@storybook/test": "^8.6.14",
|
|
@@ -39,7 +51,7 @@
|
|
|
39
51
|
"jsdom": "^29.1.1",
|
|
40
52
|
"lit-css-loader": "^3.0.1",
|
|
41
53
|
"postcss": "^8.5.6",
|
|
42
|
-
"
|
|
54
|
+
"rolldown": "^1.2.15",
|
|
43
55
|
"rollup-plugin-copy": "^3.5.0",
|
|
44
56
|
"rollup-plugin-postcss": "^4.0.2",
|
|
45
57
|
"storybook": "^8.6.14",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bodyM as e}from"./fontStyles.js";import{css as t}from"lit";const n=t`:host([error]) .input-wrapper,.form.error .form-input{border:1px solid var(--ui-negative,red) !important}:host([error]) .input-wrapper:hover,.form.error:hover .form-input:hover{box-shadow:0px 0px 0px 4px #e00f0f1a !important}:host([error]) .input-wrapper.active,.form.error.active .form-input.active{border:1px solid var(--ui-negative,red) !important;box-shadow:none !important}.error-message{${e}color:var(--ui-negative,#E00F0F);margin-top:4px}`;export{n as errorStyles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{css as e}from"lit";const t=e`.button:focus-visible,button:focus-visible{outline:2px solid rgb(0,215,255);outline-offset:1px;border-radius:4px;z-index:100}`;export{t as focusStyles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{css as e}from"lit";const t=e`font-family:'Graphik',sans-serif;font-weight:400;font-size:12px;line-height:15px;letter-spacing:0%;`,n=e`font-family:'Graphik',sans-serif;font-weight:400;font-size:14px;line-height:25px;letter-spacing:0%;`,r=e`font-family:'Graphik',sans-serif;font-weight:400;font-size:16px;line-height:25px;letter-spacing:0%;`,i=e`font-family:'Graphik',sans-serif;font-weight:400;font-size:18px;line-height:30px;letter-spacing:0%;`,a=e`font-family:'Graphik',sans-serif;font-weight:400;font-size:18px;line-height:30px;letter-spacing:0%;vertical-align:middle;`,o=e`font-family:'Graphik',sans-serif;font-weight:400;font-size:20px;line-height:30px;letter-spacing:-1%;vertical-align:middle;`,s=e`font-family:'Graphik',sans-serif;font-weight:400;font-size:26px;line-height:30px;letter-spacing:-1%;vertical-align:middle;`;export{i as bodyL,r as bodyM,n as bodyS,t as bodyXS,s as titleS,o as titleXS,a as titleXXS};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
const e=new CSSStyleSheet;e.replaceSync(`
|
|
2
|
+
@font-face {
|
|
3
|
+
font-family: 'Graphik';
|
|
4
|
+
src: url('/src/assets/font/Graphik-Regular.woff2') format('woff2'),
|
|
5
|
+
url('/src/assets/font/Graphik-Regular.woff') format('woff'),
|
|
6
|
+
url('/src/assets/font/Graphik-Regular.eot') format('embedded-opentype');
|
|
7
|
+
font-weight: normal;
|
|
8
|
+
font-style: normal;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.body-s {
|
|
12
|
+
font-weight: 400;
|
|
13
|
+
font-size: 14px;
|
|
14
|
+
line-height: 100%;
|
|
15
|
+
letter-spacing: 0%;
|
|
16
|
+
color: green;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.body-l {
|
|
20
|
+
font-family: Graphik;
|
|
21
|
+
font-size: 18px;
|
|
22
|
+
font-style: normal;
|
|
23
|
+
font-weight: 400;
|
|
24
|
+
line-height: 30px;
|
|
25
|
+
}
|
|
26
|
+
`);export{e as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{bodyL as e,bodyM as t,bodyXS as n}from"./fontStyles.js";import{focusStyles as r}from"./focus.js";import{css as i}from"lit";const a=i`${r}:host{display:block;font-family:"Graphik",sans-serif;color:var(--secondary-randstad-dark-blue,#0f1941);width:100%}.form-label{${t}display:flex;align-items:baseline;flex-direction:row;gap:4px;color:var(--label-color,var(--secondary-color-80))}.input-container{position:relative;width:100%;max-width:100%}input::placeholder{${e}color:var(--secondary-color-40)}.helper-description{${t}color:var(--secondary-color-40);margin:0}.required{color:var(--ui-negative)}.optional{color:var(--secondary-color-60);${n}}randstad-icon{color:var(--primary-color)}`;export{a as mixStyles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{css as e}from"lit";const t=e`.progress-bar-container{min-height:23px;display:flex;align-items:center}.progress-bar{min-width:80px;height:8px;background-color:var(--secondary-color-20);border-radius:999px;overflow:hidden}.progress-bar-fill{height:100%;background-color:var(--primary-color);transition:width 0.1s ease}`;export{t as progressBarUploadStyles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{css as e}from"lit";const t=e`::-webkit-scrollbar{width:8px;height:8px}::-webkit-scrollbar-track{background:#E8E8E8}::-webkit-scrollbar-thumb{background-color:#7A7A7A;border-radius:100px}::-webkit-scrollbar-button{display:none}`;export{t as scrollbarStyles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{css as e}from"lit";const t=e`.label-container{display:flex;align-items:center;justify-content:space-between;gap:8px}.tooltip-wrapper{position:relative;display:inline-flex;align-items:center}.tooltip{position:absolute;top:160%;right:0;background-color:var(--tooltip-background,#0F1941);color:var(--tooltip-color,#fff);padding:8px 12px;border-radius:4px;font-size:14px;line-height:20px;width:250px;max-width:250px;z-index:10;opacity:0;visibility:hidden;transition:opacity 0.2s ease,visibility 0.2s ease,transform 0.2s ease}.tooltip::after{content:'';position:absolute;top:-6px;right:4px;width:0;height:0;border-style:solid;border-width:0 6px 6px 6px;border-color:transparent transparent var(--tooltip-background,#0F1941) transparent}.tooltip-wrapper:hover .tooltip{visibility:visible;opacity:1}.tooltip-wrapper.clickable{cursor:pointer}.tooltip-wrapper.clickable:hover .tooltip{visibility:hidden;opacity:0}.tooltip-wrapper.clickable .tooltip.active{visibility:visible;opacity:1}`;export{t as tooltipStyles};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const e={"image/jpg":`.jpg`,"image/jpeg":`.jpeg`,"image/png":`.png`},t={"application/pdf":`.pdf`,"application/msword":`.doc`,"application/vnd.openxmlformats-officedocument.wordprocessingml.document":`.docx`,...e,"text/plain":`.txt`};export{t as FILE_TYPE_MAPPING,e as IMAGE_TYPE_MAPPING};
|
package/package.json
CHANGED
|
@@ -1,8 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@randstad-uca/design-system",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.123",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"exports": {
|
|
8
|
+
".": {
|
|
9
|
+
"types": "./dist/index.d.ts",
|
|
10
|
+
"default": "./dist/index.js"
|
|
11
|
+
},
|
|
12
|
+
"./autoloader": {
|
|
13
|
+
"types": "./dist/autoloader.d.ts",
|
|
14
|
+
"default": "./dist/autoloader.js"
|
|
15
|
+
},
|
|
16
|
+
"./components/*": {
|
|
17
|
+
"types": "./dist/components/*.d.ts",
|
|
18
|
+
"default": "./dist/components/*.js"
|
|
19
|
+
},
|
|
20
|
+
"./*": "./*"
|
|
21
|
+
},
|
|
6
22
|
"files": [
|
|
7
23
|
"dist",
|
|
8
24
|
"dist/randstad-design-system.css"
|
|
@@ -14,7 +30,7 @@
|
|
|
14
30
|
"storybook-live": "storybook dev -p 6006",
|
|
15
31
|
"build-test": "storybook build",
|
|
16
32
|
"generate-icons": "node src/utils/generateIconList.cjs",
|
|
17
|
-
"build": "rm -rf dist &&
|
|
33
|
+
"build": "rm -rf dist && rolldown -c",
|
|
18
34
|
"postbuild": "node src/utils/stripCssTypeImports.cjs"
|
|
19
35
|
},
|
|
20
36
|
"keywords": [],
|
|
@@ -23,10 +39,6 @@
|
|
|
23
39
|
"description": "",
|
|
24
40
|
"devDependencies": {
|
|
25
41
|
"@chromatic-com/storybook": "^3.2.7",
|
|
26
|
-
"@rollup/plugin-commonjs": "^28.0.6",
|
|
27
|
-
"@rollup/plugin-node-resolve": "^16.0.1",
|
|
28
|
-
"@rollup/plugin-terser": "^0.4.4",
|
|
29
|
-
"@rollup/plugin-typescript": "^12.1.4",
|
|
30
42
|
"@storybook/addon-essentials": "^8.6.14",
|
|
31
43
|
"@storybook/blocks": "^8.6.14",
|
|
32
44
|
"@storybook/test": "^8.6.14",
|
|
@@ -39,7 +51,7 @@
|
|
|
39
51
|
"jsdom": "^29.1.1",
|
|
40
52
|
"lit-css-loader": "^3.0.1",
|
|
41
53
|
"postcss": "^8.5.6",
|
|
42
|
-
"
|
|
54
|
+
"rolldown": "^1.2.15",
|
|
43
55
|
"rollup-plugin-copy": "^3.5.0",
|
|
44
56
|
"rollup-plugin-postcss": "^4.0.2",
|
|
45
57
|
"storybook": "^8.6.14",
|