@asante-org/leybold-design-system 1.2.2 → 1.3.0
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/README.md +163 -163
- package/dist/.next/types/app/layout.d.ts +9 -0
- package/dist/.next/types/app/page.d.ts +9 -0
- package/dist/assets/.gitkeep +2 -2
- package/dist/assets/desktop-layout-alt.svg +27 -27
- package/dist/assets/desktop-layout.svg +29 -29
- package/dist/assets/globe.svg +7 -7
- package/dist/assets/leybold-footer-logo.svg +19 -19
- package/dist/assets/leybold-white.svg +18 -18
- package/dist/assets/list-product-overlay-tip-active.svg +3 -3
- package/dist/assets/list-product-overlay-tip.svg +3 -3
- package/dist/assets/logo-example.svg +9 -9
- package/dist/assets/logo.svg +19 -19
- package/dist/assets/phone-layout.svg +14 -14
- package/dist/assets/red-tip.svg +10 -10
- package/dist/assets/tablet-layout.svg +28 -28
- package/dist/index.esm.js +1359 -1147
- package/dist/index.esm.js.map +1 -1
- package/dist/index.esm.scss +238 -35
- package/dist/index.js +1403 -1194
- package/dist/index.js.map +1 -1
- package/dist/index.scss +238 -35
- package/dist/src/components/Button/Button.d.ts +2 -2
- package/dist/src/components/ContentCardBase/ContentCardBase.d.ts +3 -0
- package/dist/src/components/ContentCardBase/index.d.ts +2 -0
- package/dist/src/components/ContentCardHorizontal/ContentCardHorizontal.d.ts +2 -2
- package/dist/src/components/ContentCardVertical/ContentCardVertical.d.ts +3 -0
- package/dist/src/components/ContentCardVertical/ContentCardVertical.stories.d.ts +9 -0
- package/dist/src/experience/algolia-dynamic-search/AlgoliaDynamicSearch.stories.d.ts +2 -0
- package/dist/src/index.d.ts +2 -1
- package/dist/src/stories/foundation/Typography/TypographyComponents.d.ts +1 -0
- package/dist/src/types/cards.d.ts +28 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +115 -115
- package/dist/app/layout.d.ts +0 -9
- package/dist/app/page.d.ts +0 -2
- package/dist/index.css +0 -88
- package/dist/index.d.ts +0 -3
- package/dist/index.esm.css +0 -88
- package/dist/stories/components/Algolia-dynamic-search/algolia-dynamic-search.d.ts +0 -4
- package/dist/stories/components/Algolia-dynamic-search/algolia-dynamic-search.stories.d.ts +0 -7
- package/dist/stories/components/Button/Button.d.ts +0 -35
- package/dist/stories/components/Button/Button.stories.d.ts +0 -15
- package/dist/stories/components/Button/index.d.ts +0 -2
- package/dist/stories/components/QRFormJourney/Qr-form/Qr-form.d.ts +0 -2
- package/dist/stories/components/QRFormJourney/Qr-form/Qr-form.stories.d.ts +0 -7
- package/dist/utils/styles/index.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,115 +1,115 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@asante-org/leybold-design-system",
|
|
3
|
-
"version": "1.
|
|
4
|
-
"description": "Design system for Leybold",
|
|
5
|
-
"license": "UNLICENSED",
|
|
6
|
-
"main": "dist/index.js",
|
|
7
|
-
"module": "dist/index.esm.js",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
-
"dist",
|
|
11
|
-
"dist/assets"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"dev": "next dev",
|
|
15
|
-
"build": "next build",
|
|
16
|
-
"start": "next start",
|
|
17
|
-
"lint": "next lint",
|
|
18
|
-
"storybook": "storybook dev -p 6006",
|
|
19
|
-
"build-storybook": "storybook build",
|
|
20
|
-
"build:npm": "rollup -c && node copy-css.js",
|
|
21
|
-
"publish:npm": "npm publish --access public",
|
|
22
|
-
"release:patch": "npm version patch && npm run build:npm && npm run publish:npm",
|
|
23
|
-
"release:minor": "npm version minor && npm run build:npm && npm run publish:npm",
|
|
24
|
-
"release:major": "npm version major && npm run build:npm && npm run publish:npm"
|
|
25
|
-
},
|
|
26
|
-
"dependencies": {
|
|
27
|
-
"@asante-org/edwardsvacuum-design-system": "^1.
|
|
28
|
-
"classnames": "^2.5.1",
|
|
29
|
-
"next": "13.3.0",
|
|
30
|
-
"path": "^0.12.7",
|
|
31
|
-
"react-slick": "^0.31.0",
|
|
32
|
-
"slick-carousel": "~1.8.1",
|
|
33
|
-
"uuidv4": "^6.2.13"
|
|
34
|
-
},
|
|
35
|
-
"devDependencies": {
|
|
36
|
-
"@babel/preset-react": "^7.26.3",
|
|
37
|
-
"@fortawesome/fontawesome-pro": "^6.4.0",
|
|
38
|
-
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
39
|
-
"@fortawesome/free-brands-svg-icons": "^6.4.2",
|
|
40
|
-
"@fortawesome/free-solid-svg-icons": "~6.7.2",
|
|
41
|
-
"@fortawesome/pro-duotone-svg-icons": "^6.4.0",
|
|
42
|
-
"@fortawesome/pro-light-svg-icons": "^6.4.0",
|
|
43
|
-
"@fortawesome/pro-regular-svg-icons": "^6.4.0",
|
|
44
|
-
"@fortawesome/pro-solid-svg-icons": "^6.7.2",
|
|
45
|
-
"@fortawesome/pro-thin-svg-icons": "^6.4.0",
|
|
46
|
-
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
47
|
-
"@fortawesome/sharp-solid-svg-icons": "^6.4.0",
|
|
48
|
-
"@rollup/plugin-babel": "^6.0.4",
|
|
49
|
-
"@rollup/plugin-commonjs": "^28.0.2",
|
|
50
|
-
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
51
|
-
"@rollup/plugin-replace": "^6.0.2",
|
|
52
|
-
"@rollup/plugin-typescript": "^12.1.2",
|
|
53
|
-
"@rollup/plugin-url": "^8.0.2",
|
|
54
|
-
"@storybook/addon-a11y": "7.0.12",
|
|
55
|
-
"@storybook/addon-essentials": "7.0.4",
|
|
56
|
-
"@storybook/addon-interactions": "7.0.4",
|
|
57
|
-
"@storybook/addon-links": "7.0.12",
|
|
58
|
-
"@storybook/addon-storysource": "7.0.12",
|
|
59
|
-
"@storybook/addon-styling": "1.0.1",
|
|
60
|
-
"@storybook/blocks": "7.0.4",
|
|
61
|
-
"@storybook/nextjs": "7.0.4",
|
|
62
|
-
"@storybook/react": "7.0.4",
|
|
63
|
-
"@storybook/testing-library": "0.0.14-next.2",
|
|
64
|
-
"@testing-library/dom": "^10.4.0",
|
|
65
|
-
"@testing-library/react": "^16.2.0",
|
|
66
|
-
"@types/node": "18.15.11",
|
|
67
|
-
"@types/react": "18.0.35",
|
|
68
|
-
"@types/react-dom": "18.0.11",
|
|
69
|
-
"@types/react-slick": ">=0.23.10",
|
|
70
|
-
"@whitespace/storybook-addon-html": "^5.1.6",
|
|
71
|
-
"ajv": "^8.0.0",
|
|
72
|
-
"ajv-keywords": "^5.0.0",
|
|
73
|
-
"algoliasearch": "^5.45.0",
|
|
74
|
-
"autoprefixer": "10.4.14",
|
|
75
|
-
"css-loader": "^7.1.2",
|
|
76
|
-
"eslint": ">=6.8.0",
|
|
77
|
-
"eslint-config-next": "13.3.0",
|
|
78
|
-
"eslint-plugin-storybook": "^0.6.11",
|
|
79
|
-
"fs-extra": "11.1.1",
|
|
80
|
-
"glob": "10.3.10",
|
|
81
|
-
"http-server": "14.1.1",
|
|
82
|
-
"postcss": "8.4.23",
|
|
83
|
-
"postcss-loader": "^7.3.4",
|
|
84
|
-
"prettier": "^2.8.8",
|
|
85
|
-
"raw-loader": "^4.0.2",
|
|
86
|
-
"react": "18.2.0",
|
|
87
|
-
"react-dom": "18.2.0",
|
|
88
|
-
"react-syntax-highlighter": "^15.5.0",
|
|
89
|
-
"rollup": "^4.34.8",
|
|
90
|
-
"rollup-plugin-copy": "^3.5.0",
|
|
91
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
92
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
93
|
-
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
94
|
-
"rollup-plugin-visualizer": "^6.0.4",
|
|
95
|
-
"sass": "^1.85.0",
|
|
96
|
-
"sass-loader": "^16.0.5",
|
|
97
|
-
"storybook": "7.0.4",
|
|
98
|
-
"storybook-addon-pseudo-states": "~2.0.2",
|
|
99
|
-
"style-loader": "^4.0.0",
|
|
100
|
-
"tailwindcss": "3.3.1",
|
|
101
|
-
"typescript": "5.0.4"
|
|
102
|
-
},
|
|
103
|
-
"peerDependencies": {
|
|
104
|
-
"react": ">=18.2.0",
|
|
105
|
-
"react-dom": ">=18.2.0"
|
|
106
|
-
},
|
|
107
|
-
"publishConfig": {
|
|
108
|
-
"access": "public"
|
|
109
|
-
},
|
|
110
|
-
"resolutions": {
|
|
111
|
-
"cli-table3": "0.5.1",
|
|
112
|
-
"strip-ansi": "6.0.1",
|
|
113
|
-
"sass-loader": "13.3.3"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@asante-org/leybold-design-system",
|
|
3
|
+
"version": "1.3.0",
|
|
4
|
+
"description": "Design system for Leybold",
|
|
5
|
+
"license": "UNLICENSED",
|
|
6
|
+
"main": "dist/index.js",
|
|
7
|
+
"module": "dist/index.esm.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"dist/assets"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"dev": "next dev",
|
|
15
|
+
"build": "next build",
|
|
16
|
+
"start": "next start",
|
|
17
|
+
"lint": "next lint",
|
|
18
|
+
"storybook": "storybook dev -p 6006",
|
|
19
|
+
"build-storybook": "storybook build",
|
|
20
|
+
"build:npm": "rollup -c && node copy-css.js",
|
|
21
|
+
"publish:npm": "npm publish --access public",
|
|
22
|
+
"release:patch": "npm version patch && npm run build:npm && npm run publish:npm",
|
|
23
|
+
"release:minor": "npm version minor && npm run build:npm && npm run publish:npm",
|
|
24
|
+
"release:major": "npm version major && npm run build:npm && npm run publish:npm"
|
|
25
|
+
},
|
|
26
|
+
"dependencies": {
|
|
27
|
+
"@asante-org/edwardsvacuum-design-system": "^1.9.0",
|
|
28
|
+
"classnames": "^2.5.1",
|
|
29
|
+
"next": "13.3.0",
|
|
30
|
+
"path": "^0.12.7",
|
|
31
|
+
"react-slick": "^0.31.0",
|
|
32
|
+
"slick-carousel": "~1.8.1",
|
|
33
|
+
"uuidv4": "^6.2.13"
|
|
34
|
+
},
|
|
35
|
+
"devDependencies": {
|
|
36
|
+
"@babel/preset-react": "^7.26.3",
|
|
37
|
+
"@fortawesome/fontawesome-pro": "^6.4.0",
|
|
38
|
+
"@fortawesome/fontawesome-svg-core": "^6.4.2",
|
|
39
|
+
"@fortawesome/free-brands-svg-icons": "^6.4.2",
|
|
40
|
+
"@fortawesome/free-solid-svg-icons": "~6.7.2",
|
|
41
|
+
"@fortawesome/pro-duotone-svg-icons": "^6.4.0",
|
|
42
|
+
"@fortawesome/pro-light-svg-icons": "^6.4.0",
|
|
43
|
+
"@fortawesome/pro-regular-svg-icons": "^6.4.0",
|
|
44
|
+
"@fortawesome/pro-solid-svg-icons": "^6.7.2",
|
|
45
|
+
"@fortawesome/pro-thin-svg-icons": "^6.4.0",
|
|
46
|
+
"@fortawesome/react-fontawesome": "^0.2.2",
|
|
47
|
+
"@fortawesome/sharp-solid-svg-icons": "^6.4.0",
|
|
48
|
+
"@rollup/plugin-babel": "^6.0.4",
|
|
49
|
+
"@rollup/plugin-commonjs": "^28.0.2",
|
|
50
|
+
"@rollup/plugin-node-resolve": "^16.0.0",
|
|
51
|
+
"@rollup/plugin-replace": "^6.0.2",
|
|
52
|
+
"@rollup/plugin-typescript": "^12.1.2",
|
|
53
|
+
"@rollup/plugin-url": "^8.0.2",
|
|
54
|
+
"@storybook/addon-a11y": "7.0.12",
|
|
55
|
+
"@storybook/addon-essentials": "7.0.4",
|
|
56
|
+
"@storybook/addon-interactions": "7.0.4",
|
|
57
|
+
"@storybook/addon-links": "7.0.12",
|
|
58
|
+
"@storybook/addon-storysource": "7.0.12",
|
|
59
|
+
"@storybook/addon-styling": "1.0.1",
|
|
60
|
+
"@storybook/blocks": "7.0.4",
|
|
61
|
+
"@storybook/nextjs": "7.0.4",
|
|
62
|
+
"@storybook/react": "7.0.4",
|
|
63
|
+
"@storybook/testing-library": "0.0.14-next.2",
|
|
64
|
+
"@testing-library/dom": "^10.4.0",
|
|
65
|
+
"@testing-library/react": "^16.2.0",
|
|
66
|
+
"@types/node": "18.15.11",
|
|
67
|
+
"@types/react": "18.0.35",
|
|
68
|
+
"@types/react-dom": "18.0.11",
|
|
69
|
+
"@types/react-slick": ">=0.23.10",
|
|
70
|
+
"@whitespace/storybook-addon-html": "^5.1.6",
|
|
71
|
+
"ajv": "^8.0.0",
|
|
72
|
+
"ajv-keywords": "^5.0.0",
|
|
73
|
+
"algoliasearch": "^5.45.0",
|
|
74
|
+
"autoprefixer": "10.4.14",
|
|
75
|
+
"css-loader": "^7.1.2",
|
|
76
|
+
"eslint": ">=6.8.0",
|
|
77
|
+
"eslint-config-next": "13.3.0",
|
|
78
|
+
"eslint-plugin-storybook": "^0.6.11",
|
|
79
|
+
"fs-extra": "11.1.1",
|
|
80
|
+
"glob": "10.3.10",
|
|
81
|
+
"http-server": "14.1.1",
|
|
82
|
+
"postcss": "8.4.23",
|
|
83
|
+
"postcss-loader": "^7.3.4",
|
|
84
|
+
"prettier": "^2.8.8",
|
|
85
|
+
"raw-loader": "^4.0.2",
|
|
86
|
+
"react": "18.2.0",
|
|
87
|
+
"react-dom": "18.2.0",
|
|
88
|
+
"react-syntax-highlighter": "^15.5.0",
|
|
89
|
+
"rollup": "^4.34.8",
|
|
90
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
91
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
92
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
93
|
+
"rollup-plugin-typescript-paths": "^1.5.0",
|
|
94
|
+
"rollup-plugin-visualizer": "^6.0.4",
|
|
95
|
+
"sass": "^1.85.0",
|
|
96
|
+
"sass-loader": "^16.0.5",
|
|
97
|
+
"storybook": "7.0.4",
|
|
98
|
+
"storybook-addon-pseudo-states": "~2.0.2",
|
|
99
|
+
"style-loader": "^4.0.0",
|
|
100
|
+
"tailwindcss": "3.3.1",
|
|
101
|
+
"typescript": "5.0.4"
|
|
102
|
+
},
|
|
103
|
+
"peerDependencies": {
|
|
104
|
+
"react": ">=18.2.0",
|
|
105
|
+
"react-dom": ">=18.2.0"
|
|
106
|
+
},
|
|
107
|
+
"publishConfig": {
|
|
108
|
+
"access": "public"
|
|
109
|
+
},
|
|
110
|
+
"resolutions": {
|
|
111
|
+
"cli-table3": "0.5.1",
|
|
112
|
+
"strip-ansi": "6.0.1",
|
|
113
|
+
"sass-loader": "13.3.3"
|
|
114
|
+
}
|
|
115
|
+
}
|
package/dist/app/layout.d.ts
DELETED
package/dist/app/page.d.ts
DELETED
package/dist/index.css
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
.Button-module__button___yfSXe {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
6
|
-
font-weight: 600;
|
|
7
|
-
line-height: 1.5;
|
|
8
|
-
text-align: center;
|
|
9
|
-
text-decoration: none;
|
|
10
|
-
vertical-align: middle;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
-webkit-user-select: none;
|
|
13
|
-
-moz-user-select: none;
|
|
14
|
-
user-select: none;
|
|
15
|
-
border: 2px solid transparent;
|
|
16
|
-
border-radius: 4px;
|
|
17
|
-
transition: all 0.2s ease-in-out;
|
|
18
|
-
}
|
|
19
|
-
.Button-module__button___yfSXe:focus-visible {
|
|
20
|
-
outline: 2px solid #0066cc;
|
|
21
|
-
outline-offset: 2px;
|
|
22
|
-
}
|
|
23
|
-
.Button-module__button--primary___XhVfu {
|
|
24
|
-
color: white;
|
|
25
|
-
background-color: #0066cc;
|
|
26
|
-
border-color: #0066cc;
|
|
27
|
-
}
|
|
28
|
-
.Button-module__button--primary___XhVfu:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
29
|
-
background-color: rgb(0, 76.5, 153);
|
|
30
|
-
border-color: rgb(0, 76.5, 153);
|
|
31
|
-
}
|
|
32
|
-
.Button-module__button--primary___XhVfu:active:not(.Button-module__button--disabled___zC2nI) {
|
|
33
|
-
background-color: rgb(0, 63.75, 127.5);
|
|
34
|
-
border-color: rgb(0, 63.75, 127.5);
|
|
35
|
-
}
|
|
36
|
-
.Button-module__button--secondary___iFz5O {
|
|
37
|
-
color: white;
|
|
38
|
-
background-color: #6c757d;
|
|
39
|
-
border-color: #6c757d;
|
|
40
|
-
}
|
|
41
|
-
.Button-module__button--secondary___iFz5O:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
42
|
-
background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
43
|
-
border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
44
|
-
}
|
|
45
|
-
.Button-module__button--secondary___iFz5O:active:not(.Button-module__button--disabled___zC2nI) {
|
|
46
|
-
background-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
47
|
-
border-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
48
|
-
}
|
|
49
|
-
.Button-module__button--outline___G4qIX {
|
|
50
|
-
color: #0066cc;
|
|
51
|
-
background-color: transparent;
|
|
52
|
-
border-color: #0066cc;
|
|
53
|
-
}
|
|
54
|
-
.Button-module__button--outline___G4qIX:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
55
|
-
color: white;
|
|
56
|
-
background-color: #0066cc;
|
|
57
|
-
}
|
|
58
|
-
.Button-module__button--outline___G4qIX:active:not(.Button-module__button--disabled___zC2nI) {
|
|
59
|
-
background-color: rgb(0, 76.5, 153);
|
|
60
|
-
border-color: rgb(0, 76.5, 153);
|
|
61
|
-
}
|
|
62
|
-
.Button-module__button--text___6Kh5s {
|
|
63
|
-
color: #0066cc;
|
|
64
|
-
background-color: transparent;
|
|
65
|
-
border-color: transparent;
|
|
66
|
-
}
|
|
67
|
-
.Button-module__button--text___6Kh5s:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
68
|
-
background-color: rgba(0, 102, 204, 0.1);
|
|
69
|
-
}
|
|
70
|
-
.Button-module__button--text___6Kh5s:active:not(.Button-module__button--disabled___zC2nI) {
|
|
71
|
-
background-color: rgba(0, 102, 204, 0.2);
|
|
72
|
-
}
|
|
73
|
-
.Button-module__button--small___T4-Pw {
|
|
74
|
-
padding: 0.5rem 1rem;
|
|
75
|
-
font-size: 0.875rem;
|
|
76
|
-
}
|
|
77
|
-
.Button-module__button--medium___EwhUs {
|
|
78
|
-
padding: 1rem 1.5rem;
|
|
79
|
-
font-size: 1rem;
|
|
80
|
-
}
|
|
81
|
-
.Button-module__button--large___uuXbF {
|
|
82
|
-
padding: 1.5rem 2rem;
|
|
83
|
-
font-size: 1.125rem;
|
|
84
|
-
}
|
|
85
|
-
.Button-module__button--disabled___zC2nI {
|
|
86
|
-
opacity: 0.5;
|
|
87
|
-
cursor: not-allowed;
|
|
88
|
-
}
|
package/dist/index.d.ts
DELETED
package/dist/index.esm.css
DELETED
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
.Button-module__button___yfSXe {
|
|
2
|
-
display: inline-flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: center;
|
|
5
|
-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
|
|
6
|
-
font-weight: 600;
|
|
7
|
-
line-height: 1.5;
|
|
8
|
-
text-align: center;
|
|
9
|
-
text-decoration: none;
|
|
10
|
-
vertical-align: middle;
|
|
11
|
-
cursor: pointer;
|
|
12
|
-
-webkit-user-select: none;
|
|
13
|
-
-moz-user-select: none;
|
|
14
|
-
user-select: none;
|
|
15
|
-
border: 2px solid transparent;
|
|
16
|
-
border-radius: 4px;
|
|
17
|
-
transition: all 0.2s ease-in-out;
|
|
18
|
-
}
|
|
19
|
-
.Button-module__button___yfSXe:focus-visible {
|
|
20
|
-
outline: 2px solid #0066cc;
|
|
21
|
-
outline-offset: 2px;
|
|
22
|
-
}
|
|
23
|
-
.Button-module__button--primary___XhVfu {
|
|
24
|
-
color: white;
|
|
25
|
-
background-color: #0066cc;
|
|
26
|
-
border-color: #0066cc;
|
|
27
|
-
}
|
|
28
|
-
.Button-module__button--primary___XhVfu:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
29
|
-
background-color: rgb(0, 76.5, 153);
|
|
30
|
-
border-color: rgb(0, 76.5, 153);
|
|
31
|
-
}
|
|
32
|
-
.Button-module__button--primary___XhVfu:active:not(.Button-module__button--disabled___zC2nI) {
|
|
33
|
-
background-color: rgb(0, 63.75, 127.5);
|
|
34
|
-
border-color: rgb(0, 63.75, 127.5);
|
|
35
|
-
}
|
|
36
|
-
.Button-module__button--secondary___iFz5O {
|
|
37
|
-
color: white;
|
|
38
|
-
background-color: #6c757d;
|
|
39
|
-
border-color: #6c757d;
|
|
40
|
-
}
|
|
41
|
-
.Button-module__button--secondary___iFz5O:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
42
|
-
background-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
43
|
-
border-color: rgb(84.3605150215, 91.3905579399, 97.6394849785);
|
|
44
|
-
}
|
|
45
|
-
.Button-module__button--secondary___iFz5O:active:not(.Button-module__button--disabled___zC2nI) {
|
|
46
|
-
background-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
47
|
-
border-color: rgb(72.5407725322, 78.5858369099, 83.9592274678);
|
|
48
|
-
}
|
|
49
|
-
.Button-module__button--outline___G4qIX {
|
|
50
|
-
color: #0066cc;
|
|
51
|
-
background-color: transparent;
|
|
52
|
-
border-color: #0066cc;
|
|
53
|
-
}
|
|
54
|
-
.Button-module__button--outline___G4qIX:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
55
|
-
color: white;
|
|
56
|
-
background-color: #0066cc;
|
|
57
|
-
}
|
|
58
|
-
.Button-module__button--outline___G4qIX:active:not(.Button-module__button--disabled___zC2nI) {
|
|
59
|
-
background-color: rgb(0, 76.5, 153);
|
|
60
|
-
border-color: rgb(0, 76.5, 153);
|
|
61
|
-
}
|
|
62
|
-
.Button-module__button--text___6Kh5s {
|
|
63
|
-
color: #0066cc;
|
|
64
|
-
background-color: transparent;
|
|
65
|
-
border-color: transparent;
|
|
66
|
-
}
|
|
67
|
-
.Button-module__button--text___6Kh5s:hover:not(.Button-module__button--disabled___zC2nI) {
|
|
68
|
-
background-color: rgba(0, 102, 204, 0.1);
|
|
69
|
-
}
|
|
70
|
-
.Button-module__button--text___6Kh5s:active:not(.Button-module__button--disabled___zC2nI) {
|
|
71
|
-
background-color: rgba(0, 102, 204, 0.2);
|
|
72
|
-
}
|
|
73
|
-
.Button-module__button--small___T4-Pw {
|
|
74
|
-
padding: 0.5rem 1rem;
|
|
75
|
-
font-size: 0.875rem;
|
|
76
|
-
}
|
|
77
|
-
.Button-module__button--medium___EwhUs {
|
|
78
|
-
padding: 1rem 1.5rem;
|
|
79
|
-
font-size: 1rem;
|
|
80
|
-
}
|
|
81
|
-
.Button-module__button--large___uuXbF {
|
|
82
|
-
padding: 1.5rem 2rem;
|
|
83
|
-
font-size: 1.125rem;
|
|
84
|
-
}
|
|
85
|
-
.Button-module__button--disabled___zC2nI {
|
|
86
|
-
opacity: 0.5;
|
|
87
|
-
cursor: not-allowed;
|
|
88
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import AlgoliaDynamicSearchLeybold from "./algolia-dynamic-search";
|
|
3
|
-
declare const meta: Meta<typeof AlgoliaDynamicSearchLeybold>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof AlgoliaDynamicSearchLeybold>;
|
|
6
|
-
export declare const Products: Story;
|
|
7
|
-
export declare const ProductDetails: Story;
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface ButtonProps {
|
|
3
|
-
/**
|
|
4
|
-
* Button content
|
|
5
|
-
*/
|
|
6
|
-
children: React.ReactNode;
|
|
7
|
-
/**
|
|
8
|
-
* Button variant
|
|
9
|
-
*/
|
|
10
|
-
variant?: 'primary' | 'secondary' | 'outline' | 'text';
|
|
11
|
-
/**
|
|
12
|
-
* Button size
|
|
13
|
-
*/
|
|
14
|
-
size?: 'small' | 'medium' | 'large';
|
|
15
|
-
/**
|
|
16
|
-
* Is button disabled?
|
|
17
|
-
*/
|
|
18
|
-
disabled?: boolean;
|
|
19
|
-
/**
|
|
20
|
-
* Optional click handler
|
|
21
|
-
*/
|
|
22
|
-
onClick?: () => void;
|
|
23
|
-
/**
|
|
24
|
-
* Button type
|
|
25
|
-
*/
|
|
26
|
-
type?: 'button' | 'submit' | 'reset';
|
|
27
|
-
/**
|
|
28
|
-
* Additional CSS classes
|
|
29
|
-
*/
|
|
30
|
-
className?: string;
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* Primary UI component for user interaction
|
|
34
|
-
*/
|
|
35
|
-
export declare const Button: React.FC<ButtonProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from '@storybook/react';
|
|
2
|
-
import { Button } from './Button';
|
|
3
|
-
declare const meta: Meta<typeof Button>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof Button>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Secondary: Story;
|
|
8
|
-
export declare const Outline: Story;
|
|
9
|
-
export declare const Text: Story;
|
|
10
|
-
export declare const Small: Story;
|
|
11
|
-
export declare const Medium: Story;
|
|
12
|
-
export declare const Large: Story;
|
|
13
|
-
export declare const Disabled: Story;
|
|
14
|
-
export declare const AllVariants: Story;
|
|
15
|
-
export declare const AllSizes: Story;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { QrFormLeybold } from "./Qr-form";
|
|
3
|
-
declare const meta: Meta<typeof QrFormLeybold>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof QrFormLeybold>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const AEM: Story;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|