@randstad-uca/design-system 1.0.122 → 1.0.124
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/LineProgress.d.ts +57 -0
- package/dist/components/LineProgress.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/ProgressCard.d.ts +58 -0
- package/dist/components/ProgressCard.js +1 -0
- package/dist/components/ProgressCircle.js +1 -0
- package/dist/components/QrModals.d.ts +78 -0
- package/dist/components/QrModals.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/cssUtils.d.ts +2 -0
- package/dist/helpers/cssUtils.js +1 -0
- package/dist/helpers/filterBarUtils.js +1 -0
- package/dist/helpers/progressUtils.d.ts +46 -0
- package/dist/helpers/progressUtils.js +1 -0
- package/dist/helpers/qrModalsUtils.d.ts +8 -0
- package/dist/helpers/qrModalsUtils.js +1 -0
- package/dist/helpers/textUtils.d.ts +1 -0
- package/dist/helpers/textUtils.js +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +1 -5181
- package/dist/package.json +19 -7
- package/dist/stories/LineProgress.stories.d.ts +71 -0
- package/dist/stories/ProgressCard.stories.d.ts +86 -0
- package/dist/stories/QrModals.stories.d.ts +106 -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.124",
|
|
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,71 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components';
|
|
2
|
+
import '../components/LineProgress';
|
|
3
|
+
import '../components/Button';
|
|
4
|
+
import type { LineProgressProps } from '../components/LineProgress';
|
|
5
|
+
type LineProgressStoryArgs = Partial<LineProgressProps>;
|
|
6
|
+
declare const meta: {
|
|
7
|
+
title: string;
|
|
8
|
+
component: string;
|
|
9
|
+
tags: string[];
|
|
10
|
+
parameters: {
|
|
11
|
+
layout: string;
|
|
12
|
+
};
|
|
13
|
+
argTypes: {
|
|
14
|
+
value: {
|
|
15
|
+
control: "number";
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
max: {
|
|
19
|
+
control: "number";
|
|
20
|
+
description: string;
|
|
21
|
+
};
|
|
22
|
+
progressSource: {
|
|
23
|
+
control: false;
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
indeterminate: {
|
|
27
|
+
control: "boolean";
|
|
28
|
+
};
|
|
29
|
+
label: {
|
|
30
|
+
control: "text";
|
|
31
|
+
};
|
|
32
|
+
valueText: {
|
|
33
|
+
control: "text";
|
|
34
|
+
};
|
|
35
|
+
showValue: {
|
|
36
|
+
control: "boolean";
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
control: "text";
|
|
40
|
+
};
|
|
41
|
+
height: {
|
|
42
|
+
control: "text";
|
|
43
|
+
};
|
|
44
|
+
backgroundColor: {
|
|
45
|
+
control: "color";
|
|
46
|
+
};
|
|
47
|
+
lineColor: {
|
|
48
|
+
control: "color";
|
|
49
|
+
};
|
|
50
|
+
valueColor: {
|
|
51
|
+
control: "color";
|
|
52
|
+
};
|
|
53
|
+
borderRadius: {
|
|
54
|
+
control: "text";
|
|
55
|
+
};
|
|
56
|
+
transitionDuration: {
|
|
57
|
+
control: "text";
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
export default meta;
|
|
62
|
+
type Story = StoryObj<LineProgressStoryArgs>;
|
|
63
|
+
export declare const Default: Story;
|
|
64
|
+
export declare const StepsWithValue: Story;
|
|
65
|
+
export declare const Empty: Story;
|
|
66
|
+
export declare const Complete: Story;
|
|
67
|
+
export declare const Indeterminate: Story;
|
|
68
|
+
export declare const CustomAppearance: Story;
|
|
69
|
+
export declare const ClampedAndInvalidValues: Story;
|
|
70
|
+
export declare const PromiseSource: Story;
|
|
71
|
+
export declare const ObservableSource: Story;
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components';
|
|
2
|
+
import '../components/ProgressCard';
|
|
3
|
+
import type { ProgressCardProps } from '../components/ProgressCard';
|
|
4
|
+
type ProgressCardStoryArgs = Partial<ProgressCardProps>;
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
currentStep: {
|
|
14
|
+
control: "number";
|
|
15
|
+
};
|
|
16
|
+
maxSteps: {
|
|
17
|
+
control: "number";
|
|
18
|
+
};
|
|
19
|
+
title: {
|
|
20
|
+
control: "text";
|
|
21
|
+
};
|
|
22
|
+
progressLabel: {
|
|
23
|
+
control: "text";
|
|
24
|
+
description: string;
|
|
25
|
+
};
|
|
26
|
+
description: {
|
|
27
|
+
control: "text";
|
|
28
|
+
};
|
|
29
|
+
linkLabel: {
|
|
30
|
+
control: "text";
|
|
31
|
+
};
|
|
32
|
+
showLink: {
|
|
33
|
+
control: "boolean";
|
|
34
|
+
};
|
|
35
|
+
linkDisabled: {
|
|
36
|
+
control: "boolean";
|
|
37
|
+
};
|
|
38
|
+
width: {
|
|
39
|
+
control: "text";
|
|
40
|
+
};
|
|
41
|
+
padding: {
|
|
42
|
+
control: "text";
|
|
43
|
+
};
|
|
44
|
+
backgroundColor: {
|
|
45
|
+
control: "color";
|
|
46
|
+
};
|
|
47
|
+
borderRadius: {
|
|
48
|
+
control: "text";
|
|
49
|
+
};
|
|
50
|
+
boxShadow: {
|
|
51
|
+
control: "text";
|
|
52
|
+
};
|
|
53
|
+
titleColor: {
|
|
54
|
+
control: "color";
|
|
55
|
+
};
|
|
56
|
+
descriptionColor: {
|
|
57
|
+
control: "color";
|
|
58
|
+
};
|
|
59
|
+
linkColor: {
|
|
60
|
+
control: "color";
|
|
61
|
+
};
|
|
62
|
+
progressBackgroundColor: {
|
|
63
|
+
control: "color";
|
|
64
|
+
};
|
|
65
|
+
progressColor: {
|
|
66
|
+
control: "color";
|
|
67
|
+
};
|
|
68
|
+
progressHeight: {
|
|
69
|
+
control: "text";
|
|
70
|
+
};
|
|
71
|
+
progressBorderRadius: {
|
|
72
|
+
control: "text";
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
export default meta;
|
|
77
|
+
type Story = StoryObj<ProgressCardStoryArgs>;
|
|
78
|
+
export declare const Default: Story;
|
|
79
|
+
export declare const Empty: Story;
|
|
80
|
+
export declare const Complete: Story;
|
|
81
|
+
export declare const CustomContent: Story;
|
|
82
|
+
export declare const CustomAppearance: Story;
|
|
83
|
+
export declare const DisabledAction: Story;
|
|
84
|
+
export declare const WithoutAction: Story;
|
|
85
|
+
export declare const InvalidProgress: Story;
|
|
86
|
+
export declare const NarrowAndLongContent: Story;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import type { StoryObj } from '@storybook/web-components';
|
|
2
|
+
import '../components/QrModals';
|
|
3
|
+
import type { QrModalsProps } from '../components/QrModals';
|
|
4
|
+
type QrModalsStoryArgs = Partial<QrModalsProps>;
|
|
5
|
+
declare const meta: {
|
|
6
|
+
title: string;
|
|
7
|
+
component: string;
|
|
8
|
+
tags: string[];
|
|
9
|
+
parameters: {
|
|
10
|
+
layout: string;
|
|
11
|
+
};
|
|
12
|
+
argTypes: {
|
|
13
|
+
open: {
|
|
14
|
+
control: "boolean";
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
title: {
|
|
18
|
+
control: "text";
|
|
19
|
+
};
|
|
20
|
+
badgeLabel: {
|
|
21
|
+
control: "text";
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
footerText: {
|
|
25
|
+
control: "text";
|
|
26
|
+
};
|
|
27
|
+
closeLabel: {
|
|
28
|
+
control: "text";
|
|
29
|
+
};
|
|
30
|
+
qrAsset: {
|
|
31
|
+
control: "text";
|
|
32
|
+
description: string;
|
|
33
|
+
};
|
|
34
|
+
qrAlt: {
|
|
35
|
+
control: "text";
|
|
36
|
+
};
|
|
37
|
+
dismissOnOutsideClick: {
|
|
38
|
+
control: "boolean";
|
|
39
|
+
};
|
|
40
|
+
dismissOnEscape: {
|
|
41
|
+
control: "boolean";
|
|
42
|
+
};
|
|
43
|
+
hideOnMobile: {
|
|
44
|
+
control: "boolean";
|
|
45
|
+
};
|
|
46
|
+
autoFocus: {
|
|
47
|
+
control: "boolean";
|
|
48
|
+
description: string;
|
|
49
|
+
};
|
|
50
|
+
width: {
|
|
51
|
+
control: "text";
|
|
52
|
+
};
|
|
53
|
+
height: {
|
|
54
|
+
control: "text";
|
|
55
|
+
};
|
|
56
|
+
right: {
|
|
57
|
+
control: "text";
|
|
58
|
+
};
|
|
59
|
+
bottom: {
|
|
60
|
+
control: "text";
|
|
61
|
+
};
|
|
62
|
+
zIndex: {
|
|
63
|
+
control: "number";
|
|
64
|
+
};
|
|
65
|
+
padding: {
|
|
66
|
+
control: "text";
|
|
67
|
+
};
|
|
68
|
+
borderRadius: {
|
|
69
|
+
control: "text";
|
|
70
|
+
};
|
|
71
|
+
background: {
|
|
72
|
+
control: "text";
|
|
73
|
+
};
|
|
74
|
+
badgeBackground: {
|
|
75
|
+
control: "color";
|
|
76
|
+
};
|
|
77
|
+
badgeColor: {
|
|
78
|
+
control: "color";
|
|
79
|
+
};
|
|
80
|
+
titleColor: {
|
|
81
|
+
control: "color";
|
|
82
|
+
};
|
|
83
|
+
qrBackground: {
|
|
84
|
+
control: "color";
|
|
85
|
+
};
|
|
86
|
+
footerColor: {
|
|
87
|
+
control: "color";
|
|
88
|
+
};
|
|
89
|
+
closeColor: {
|
|
90
|
+
control: "color";
|
|
91
|
+
};
|
|
92
|
+
closeBackground: {
|
|
93
|
+
control: "color";
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export default meta;
|
|
98
|
+
type Story = StoryObj<QrModalsStoryArgs>;
|
|
99
|
+
export declare const Default: Story;
|
|
100
|
+
export declare const CustomContent: Story;
|
|
101
|
+
export declare const CustomAppearance: Story;
|
|
102
|
+
export declare const FullSizeQr: Story;
|
|
103
|
+
export declare const Persistent: Story;
|
|
104
|
+
export declare const Closed: Story;
|
|
105
|
+
export declare const MobileHidden: Story;
|
|
106
|
+
export declare const MobileAllowed: Story;
|
|
@@ -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.124",
|
|
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",
|