@cds/core 5.5.5 → 5.6.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/_virtual/_virtual_library-entry-points +1 -1
- package/accordion/accordion-panel.element.js +1 -1
- package/accordion/accordion-panel.element.js.map +1 -1
- package/alert/alert-group.element.d.ts +3 -3
- package/alert/alert.element.d.ts +2 -2
- package/badge/badge.element.d.ts +1 -1
- package/button/button.element.d.ts +1 -1
- package/button/button.element.js +1 -1
- package/button/button.element.js.map +1 -1
- package/button/button.element.scss.js +1 -1
- package/button/icon-button.element.d.ts +1 -1
- package/button/icon-button.element.js +1 -1
- package/button/icon-button.element.js.map +1 -1
- package/custom-elements.json +8013 -6105
- package/custom-elements.legacy.json +280 -0
- package/forms/control/control.element.d.ts +5 -4
- package/forms/control/control.element.js +2 -2
- package/forms/control/control.element.js.map +1 -1
- package/forms/control/control.element.scss.js +1 -1
- package/forms/control-group/control-group.element.d.ts +2 -2
- package/forms/control-group/control-group.element.scss.js +1 -1
- package/forms/control-inline/control-inline.element.d.ts +1 -0
- package/forms/control-inline/control-inline.element.js +1 -1
- package/forms/control-inline/control-inline.element.js.map +1 -1
- package/forms/control-inline/control-inline.element.scss.js +1 -1
- package/forms/control-message/control-message.element.d.ts +1 -1
- package/forms/form-group/form-group.element.d.ts +2 -2
- package/forms/utils/index.d.ts +2 -1
- package/forms/utils/index.js +1 -1
- package/forms/utils/index.js.map +1 -1
- package/global.css +4 -0
- package/global.min.css +1 -1
- package/icon/icon.element.d.ts +5 -5
- package/input/input.element.scss.js +1 -1
- package/internal/base/base.element.scss.js +1 -1
- package/internal/index.d.ts +1 -0
- package/internal/index.js +1 -1
- package/internal/index.js.map +1 -1
- package/internal/utils/color.d.ts +2 -0
- package/internal/utils/color.js +2 -0
- package/internal/utils/color.js.map +1 -0
- package/internal/utils/global.js +1 -1
- package/navigation/navigation-item.element.js +1 -1
- package/navigation/navigation-item.element.js.map +1 -1
- package/navigation/navigation-item.element.scss.js +2 -2
- package/navigation/navigation-start.element.js +1 -1
- package/navigation/navigation-start.element.js.map +1 -1
- package/navigation/navigation-start.element.scss.js +2 -2
- package/navigation/navigation.element.js +1 -3
- package/navigation/navigation.element.js.map +1 -1
- package/navigation/navigation.element.scss.js +1 -1
- package/package.json +193 -101
- package/progress-circle/progress-circle.element.d.ts +2 -2
- package/radio/radio-group.element.js +1 -1
- package/radio/radio-group.element.js.map +1 -1
- package/select/register.js +1 -1
- package/select/register.js.map +1 -1
- package/select/select.element.d.ts +1 -1
- package/select/select.element.js +1 -1
- package/select/select.element.js.map +1 -1
- package/select/select.element.scss.js +1 -1
- package/selection-panels/checkbox/checkbox-panel.element.d.ts +35 -0
- package/selection-panels/checkbox/checkbox-panel.element.js +2 -0
- package/selection-panels/checkbox/checkbox-panel.element.js.map +1 -0
- package/selection-panels/checkbox/index.d.ts +2 -0
- package/selection-panels/checkbox/index.js +2 -0
- package/selection-panels/checkbox/index.js.map +1 -0
- package/selection-panels/checkbox/register.d.ts +6 -0
- package/selection-panels/checkbox/register.js +2 -0
- package/selection-panels/checkbox/register.js.map +1 -0
- package/selection-panels/index.d.ts +11 -0
- package/selection-panels/index.js +2 -0
- package/selection-panels/index.js.map +1 -0
- package/selection-panels/radio/index.d.ts +2 -0
- package/selection-panels/radio/index.js +2 -0
- package/selection-panels/radio/index.js.map +1 -0
- package/selection-panels/radio/radio-panel.element.d.ts +35 -0
- package/selection-panels/radio/radio-panel.element.js +2 -0
- package/selection-panels/radio/radio-panel.element.js.map +1 -0
- package/selection-panels/radio/register.d.ts +6 -0
- package/selection-panels/radio/register.js +2 -0
- package/selection-panels/radio/register.js.map +1 -0
- package/selection-panels/register.d.ts +8 -0
- package/selection-panels/register.js +2 -0
- package/selection-panels/register.js.map +1 -0
- package/selection-panels/shared/selection-panel.element.scss.js +6 -0
- package/selection-panels/shared/selection-panel.element.scss.js.map +1 -0
- package/selection-panels/shared/selection-panel.interfaces.d.ts +1 -0
- package/styles/module.tokens.css +4 -0
- package/styles/module.tokens.min.css +1 -1
- package/styles/theme.dark.css +1 -0
- package/styles/theme.dark.min.css +1 -1
- package/tag/tag.element.d.ts +1 -1
- package/test/index.js +1 -1
- package/test/utils.d.ts +2 -0
- package/test/utils.js +1 -1
- package/test/utils.js.map +1 -1
- package/toggle/toggle.element.scss.js +1 -1
- package/tokens/tokens.android.xml +4 -0
- package/tokens/tokens.d.ts +4 -0
- package/tokens/tokens.ios.swift +4 -0
- package/tokens/tokens.js +4 -0
- package/tokens/tokens.json +17 -0
- package/tokens/tokens.scss +4 -0
- package/tree-view/tree-item.element.d.ts +4 -4
- package/tree-view/tree.element.d.ts +2 -2
- package/accordion/accordion-content.element.css.d.ts +0 -1
- package/accordion/accordion-header.element.css.d.ts +0 -1
- package/accordion/accordion-panel.element.css.d.ts +0 -1
- package/accordion/accordion.element.css.d.ts +0 -1
- package/alert/alert-actions.element.css.d.ts +0 -1
- package/alert/alert-group.element.css.d.ts +0 -1
- package/alert/alert.element.css.d.ts +0 -1
- package/badge/badge.element.css.d.ts +0 -1
- package/button/base-button.element.css.d.ts +0 -1
- package/button/base-button.element.scss.js +0 -2
- package/button/base-button.element.scss.js.map +0 -1
- package/button/button.element.css.d.ts +0 -1
- package/button/icon-button.element.css.d.ts +0 -1
- package/button/inline-button.element.css.d.ts +0 -1
- package/checkbox/checkbox.element.css.d.ts +0 -1
- package/datalist/datalist-global.element.css.d.ts +0 -1
- package/date/date.global.css.d.ts +0 -1
- package/divider/divider.element.css.d.ts +0 -1
- package/file/file.element.css.d.ts +0 -1
- package/forms/control/control.element.css.d.ts +0 -1
- package/forms/control-action/control-action.element.css.d.ts +0 -1
- package/forms/control-group/control-group.element.css.d.ts +0 -1
- package/forms/control-inline/control-inline.element.css.d.ts +0 -1
- package/forms/control-label/control-label.element.css.d.ts +0 -1
- package/forms/control-message/control-message.element.css.d.ts +0 -1
- package/forms/form-group/form-group.element.css.d.ts +0 -1
- package/icon/icon.element.css.d.ts +0 -1
- package/input/input-group.element.css.d.ts +0 -1
- package/input/input.element.css.d.ts +0 -1
- package/internal/base/base.element.css.d.ts +0 -1
- package/internal-components/close-button/close-button.element.css.d.ts +0 -1
- package/internal-components/overlay/overlay.element.css.d.ts +0 -1
- package/modal/modal.element.css.d.ts +0 -1
- package/progress-circle/progress-circle.element.css.d.ts +0 -1
- package/radio/radio.element.css.d.ts +0 -1
- package/range/range.element.css.d.ts +0 -1
- package/range/range.global.css.d.ts +0 -1
- package/search/search.global.css.d.ts +0 -1
- package/select/select.element.css.d.ts +0 -1
- package/select/select.global.css.d.ts +0 -1
- package/tag/tag.element.css.d.ts +0 -1
- package/test-dropdown/test-dropdown.element.css.d.ts +0 -1
- package/textarea/textarea.element.css.d.ts +0 -1
- package/time/time.global.css.d.ts +0 -1
- package/toggle/toggle.element.css.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,52 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cds/core",
|
|
3
|
-
"version": "5.
|
|
4
|
-
"
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
"test": "npm-run-all -s test:unit test:performance",
|
|
10
|
-
"lint": "eslint \"**/*.ts\" --ignore-pattern \"dist\" && stylelint \"./**/*.scss\" && lit-analyzer ./src",
|
|
11
|
-
"storybook:start": "wds -c ./web-dev-server.storybook.mjs",
|
|
12
|
-
"storybook:build": "build-storybook --config-dir .storybook --output-dir ../../dist/website/storybook/core",
|
|
13
|
-
"lint:fix": "eslint --fix \"./**/*.ts\" && stylelint --fix \"./**/*.scss\"",
|
|
14
|
-
"test:watch": "wtr --watch",
|
|
15
|
-
"test:unit": "wtr",
|
|
16
|
-
"test:unit:coverage": "wtr --coverage",
|
|
17
|
-
"test:performance": "rollup --config ./rollup.performance.js",
|
|
18
|
-
"test:performance:report": "npm-run-all 'test:performance --sourcemap'",
|
|
19
|
-
"build:watch": "npm-run-all 'build:lib --watch'",
|
|
20
|
-
"build:lib": "rollup --config ./rollup.config.js",
|
|
21
|
-
"build:tokens": "cd build && ts-node ./build.tokens.ts",
|
|
22
|
-
"build:preinstall": "mkdir -p ../../dist/core/ && cp ./package.json ../../dist/core/",
|
|
23
|
-
"build:update": "node ../../scripts/update-local-packages.js /packages/core/dist/core/package.json",
|
|
24
|
-
"postinstall": "patch-package"
|
|
25
|
-
},
|
|
26
|
-
"customElements": "dist/core/custom-elements.json",
|
|
27
|
-
"sideEffects": [
|
|
28
|
-
"src/**/*.register.js"
|
|
29
|
-
],
|
|
30
|
-
"files": [
|
|
31
|
-
"*"
|
|
32
|
-
],
|
|
3
|
+
"version": "5.6.0",
|
|
4
|
+
"license": "MIT",
|
|
5
|
+
"author": "clarity",
|
|
6
|
+
"description": "Clarity Design System Web Components",
|
|
7
|
+
"homepage": "https://clarity.design",
|
|
8
|
+
"customElements": "custom-elements.json",
|
|
33
9
|
"keywords": [
|
|
34
10
|
"web component",
|
|
35
11
|
"design system",
|
|
36
12
|
"clarity",
|
|
37
13
|
"ui"
|
|
38
14
|
],
|
|
39
|
-
"description": "Clarity Design System Web Components",
|
|
40
|
-
"homepage": "https://clarity.design",
|
|
41
15
|
"repository": {
|
|
42
16
|
"type": "git",
|
|
43
17
|
"url": "https://github.com/vmware/clarity.git"
|
|
44
18
|
},
|
|
45
|
-
"author": "clarity",
|
|
46
|
-
"license": "MIT",
|
|
47
19
|
"bugs": {
|
|
48
20
|
"url": "https://github.com/vmware/clarity/issues"
|
|
49
21
|
},
|
|
22
|
+
"main": "./index.js",
|
|
23
|
+
"module": "./index.js",
|
|
24
|
+
"typings": "./index.d.ts",
|
|
25
|
+
"type": "module",
|
|
26
|
+
"files": [
|
|
27
|
+
"*"
|
|
28
|
+
],
|
|
50
29
|
"dependencies": {
|
|
51
30
|
"lit": "2.0.0-rc.2",
|
|
52
31
|
"ramda": "^0.27.1",
|
|
@@ -57,72 +36,185 @@
|
|
|
57
36
|
"@types/resize-observer-browser": "^0.1.5",
|
|
58
37
|
"modern-normalize": "1.1.0"
|
|
59
38
|
},
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
"
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"
|
|
94
|
-
"
|
|
95
|
-
"
|
|
96
|
-
"
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
"
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
"
|
|
108
|
-
"
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
"
|
|
114
|
-
"
|
|
115
|
-
"
|
|
116
|
-
"
|
|
117
|
-
"
|
|
118
|
-
"
|
|
119
|
-
"
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"
|
|
123
|
-
"
|
|
124
|
-
"
|
|
125
|
-
"
|
|
126
|
-
"
|
|
39
|
+
"sideEffects": [
|
|
40
|
+
"./accordion/register.js",
|
|
41
|
+
"./alert/register.js",
|
|
42
|
+
"./badge/register.js",
|
|
43
|
+
"./breadcrumb/register.js",
|
|
44
|
+
"./button/register.js",
|
|
45
|
+
"./card/register.js",
|
|
46
|
+
"./checkbox/register.js",
|
|
47
|
+
"./datalist/register.js",
|
|
48
|
+
"./date/register.js",
|
|
49
|
+
"./divider/register.js",
|
|
50
|
+
"./file/register.js",
|
|
51
|
+
"./forms/register.js",
|
|
52
|
+
"./icon/register.js",
|
|
53
|
+
"./input/register.js",
|
|
54
|
+
"./internal-components/close-button/register.js",
|
|
55
|
+
"./internal-components/overlay/register.js",
|
|
56
|
+
"./internal-components/panel/register.js",
|
|
57
|
+
"./internal-components/visual-checkbox/register.js",
|
|
58
|
+
"./modal/register.js",
|
|
59
|
+
"./navigation/register.js",
|
|
60
|
+
"./pagination/register.js",
|
|
61
|
+
"./password/register.js",
|
|
62
|
+
"./progress-circle/register.js",
|
|
63
|
+
"./radio/register.js",
|
|
64
|
+
"./range/register.js",
|
|
65
|
+
"./search/register.js",
|
|
66
|
+
"./select/register.js",
|
|
67
|
+
"./selection-panels/register.js",
|
|
68
|
+
"./selection-panels/checkbox/register.js",
|
|
69
|
+
"./selection-panels/radio/register.js",
|
|
70
|
+
"./tag/register.js",
|
|
71
|
+
"./textarea/register.js",
|
|
72
|
+
"./test-dropdown/register.js",
|
|
73
|
+
"./time/register.js",
|
|
74
|
+
"./toggle/register.js",
|
|
75
|
+
"./tree-view/register.js"
|
|
76
|
+
],
|
|
77
|
+
"exports": {
|
|
78
|
+
"./package.json": "./package.json",
|
|
79
|
+
"./custom-elements.json": "./custom-elements.json",
|
|
80
|
+
".": "./index.js",
|
|
81
|
+
"./internal": "./internal/index.js",
|
|
82
|
+
"./test": "./test/index.js",
|
|
83
|
+
"./icon/shapes/*": "./icon/shapes/*",
|
|
84
|
+
"./icon/icon.service.js": "./icon/icon.service.js",
|
|
85
|
+
"./tokens/tokens.js": "./tokens/tokens.js",
|
|
86
|
+
"./tokens/tokens.d.ts": "./tokens/tokens.d.ts",
|
|
87
|
+
"./tokens/tokens.json": "./tokens/tokens.json",
|
|
88
|
+
"./tokens/tokens.scss": "./tokens/tokens.scss",
|
|
89
|
+
"./tokens/tokens.ios.swift": "./tokens/tokens.ios.swift",
|
|
90
|
+
"./tokens/tokens.android.xml": "./tokens/tokens.android.xml",
|
|
91
|
+
"./accordion": "./accordion/index.js",
|
|
92
|
+
"./accordion/register": "./accordion/register.js",
|
|
93
|
+
"./accordion/register.js": "./accordion/register.js",
|
|
94
|
+
"./alert": "./alert/index.js",
|
|
95
|
+
"./alert/register": "./alert/register.js",
|
|
96
|
+
"./alert/register.js": "./alert/register.js",
|
|
97
|
+
"./badge": "./badge/index.js",
|
|
98
|
+
"./badge/register": "./badge/register.js",
|
|
99
|
+
"./badge/register.js": "./badge/register.js",
|
|
100
|
+
"./breadcrumb": "./breadcrumb/index.js",
|
|
101
|
+
"./breadcrumb/register": "./breadcrumb/register.js",
|
|
102
|
+
"./breadcrumb/register.js": "./breadcrumb/register.js",
|
|
103
|
+
"./button": "./button/index.js",
|
|
104
|
+
"./button/register": "./button/register.js",
|
|
105
|
+
"./button/register.js": "./button/register.js",
|
|
106
|
+
"./card": "./card/index.js",
|
|
107
|
+
"./card/register": "./card/register.js",
|
|
108
|
+
"./card/register.js": "./card/register.js",
|
|
109
|
+
"./checkbox": "./checkbox/index.js",
|
|
110
|
+
"./checkbox/register": "./checkbox/register.js",
|
|
111
|
+
"./checkbox/register.js": "./checkbox/register.js",
|
|
112
|
+
"./datalist": "./datalist/index.js",
|
|
113
|
+
"./datalist/register": "./datalist/register.js",
|
|
114
|
+
"./datalist/register.js": "./datalist/register.js",
|
|
115
|
+
"./date": "./date/index.js",
|
|
116
|
+
"./date/register": "./date/register.js",
|
|
117
|
+
"./date/register.js": "./date/register.js",
|
|
118
|
+
"./divider": "./divider/index.js",
|
|
119
|
+
"./divider/register": "./divider/register.js",
|
|
120
|
+
"./divider/register.js": "./divider/register.js",
|
|
121
|
+
"./file": "./file/index.js",
|
|
122
|
+
"./file/register": "./file/register.js",
|
|
123
|
+
"./file/register.js": "./file/register.js",
|
|
124
|
+
"./forms": "./forms/index.js",
|
|
125
|
+
"./forms/register": "./forms/register.js",
|
|
126
|
+
"./forms/register.js": "./forms/register.js",
|
|
127
|
+
"./icon": "./icon/index.js",
|
|
128
|
+
"./icon/register": "./icon/register.js",
|
|
129
|
+
"./icon/register.js": "./icon/register.js",
|
|
130
|
+
"./input": "./input/index.js",
|
|
131
|
+
"./input/register": "./input/register.js",
|
|
132
|
+
"./input/register.js": "./input/register.js",
|
|
133
|
+
"./internal-components/close-button": "./internal-components/close-button/index.js",
|
|
134
|
+
"./internal-components/close-button/register": "./internal-components/close-button/register.js",
|
|
135
|
+
"./internal-components/close-button/register.js": "./internal-components/close-button/register.js",
|
|
136
|
+
"./internal-components/overlay": "./internal-components/overlay/index.js",
|
|
137
|
+
"./internal-components/overlay/register": "./internal-components/overlay/register.js",
|
|
138
|
+
"./internal-components/overlay/register.js": "./internal-components/overlay/register.js",
|
|
139
|
+
"./internal-components/panel": "./internal-components/panel/index.js",
|
|
140
|
+
"./internal-components/panel/register": "./internal-components/panel/register.js",
|
|
141
|
+
"./internal-components/panel/register.js": "./internal-components/panel/register.js",
|
|
142
|
+
"./internal-components/visual-checkbox": "./internal-components/visual-checkbox/index.js",
|
|
143
|
+
"./internal-components/visual-checkbox/register": "./internal-components/visual-checkbox/register.js",
|
|
144
|
+
"./internal-components/visual-checkbox/register.js": "./internal-components/visual-checkbox/register.js",
|
|
145
|
+
"./modal": "./modal/index.js",
|
|
146
|
+
"./modal/register": "./modal/register.js",
|
|
147
|
+
"./modal/register.js": "./modal/register.js",
|
|
148
|
+
"./navigation": "./navigation/index.js",
|
|
149
|
+
"./navigation/register": "./navigation/register.js",
|
|
150
|
+
"./navigation/register.js": "./navigation/register.js",
|
|
151
|
+
"./pagination": "./pagination/index.js",
|
|
152
|
+
"./pagination/register": "./pagination/register.js",
|
|
153
|
+
"./pagination/register.js": "./pagination/register.js",
|
|
154
|
+
"./password": "./password/index.js",
|
|
155
|
+
"./password/register": "./password/register.js",
|
|
156
|
+
"./password/register.js": "./password/register.js",
|
|
157
|
+
"./progress-circle": "./progress-circle/index.js",
|
|
158
|
+
"./progress-circle/register": "./progress-circle/register.js",
|
|
159
|
+
"./progress-circle/register.js": "./progress-circle/register.js",
|
|
160
|
+
"./radio": "./radio/index.js",
|
|
161
|
+
"./radio/register": "./radio/register.js",
|
|
162
|
+
"./radio/register.js": "./radio/register.js",
|
|
163
|
+
"./range": "./range/index.js",
|
|
164
|
+
"./range/register": "./range/register.js",
|
|
165
|
+
"./range/register.js": "./range/register.js",
|
|
166
|
+
"./search": "./search/index.js",
|
|
167
|
+
"./search/register": "./search/register.js",
|
|
168
|
+
"./search/register.js": "./search/register.js",
|
|
169
|
+
"./select": "./select/index.js",
|
|
170
|
+
"./select/register": "./select/register.js",
|
|
171
|
+
"./select/register.js": "./select/register.js",
|
|
172
|
+
"./selection-panels": "./selection-panels/index.js",
|
|
173
|
+
"./selection-panels/register": "./selection-panels/register.js",
|
|
174
|
+
"./selection-panels/register.js": "./selection-panels/register.js",
|
|
175
|
+
"./selection-panels/checkbox": "./selection-panels/checkbox/index.js",
|
|
176
|
+
"./selection-panels/checkbox/register": "./selection-panels/checkbox/register.js",
|
|
177
|
+
"./selection-panels/checkbox/register.js": "./selection-panels/checkbox/register.js",
|
|
178
|
+
"./selection-panels/radio": "./selection-panels/radio/index.js",
|
|
179
|
+
"./selection-panels/radio/register": "./selection-panels/radio/register.js",
|
|
180
|
+
"./selection-panels/radio/register.js": "./selection-panels/radio/register.js",
|
|
181
|
+
"./tag": "./tag/index.js",
|
|
182
|
+
"./tag/register": "./tag/register.js",
|
|
183
|
+
"./tag/register.js": "./tag/register.js",
|
|
184
|
+
"./textarea": "./textarea/index.js",
|
|
185
|
+
"./textarea/register": "./textarea/register.js",
|
|
186
|
+
"./textarea/register.js": "./textarea/register.js",
|
|
187
|
+
"./test-dropdown": "./test-dropdown/index.js",
|
|
188
|
+
"./test-dropdown/register": "./test-dropdown/register.js",
|
|
189
|
+
"./test-dropdown/register.js": "./test-dropdown/register.js",
|
|
190
|
+
"./time": "./time/index.js",
|
|
191
|
+
"./time/register": "./time/register.js",
|
|
192
|
+
"./time/register.js": "./time/register.js",
|
|
193
|
+
"./toggle": "./toggle/index.js",
|
|
194
|
+
"./toggle/register": "./toggle/register.js",
|
|
195
|
+
"./toggle/register.js": "./toggle/register.js",
|
|
196
|
+
"./tree-view": "./tree-view/index.js",
|
|
197
|
+
"./tree-view/register": "./tree-view/register.js",
|
|
198
|
+
"./tree-view/register.js": "./tree-view/register.js",
|
|
199
|
+
"./global.css": "./global.css",
|
|
200
|
+
"./global.min.css": "./global.min.css",
|
|
201
|
+
"./styles/module.tokens.css": "./styles/module.tokens.css",
|
|
202
|
+
"./styles/module.tokens.min.css": "./styles/module.tokens.min.css",
|
|
203
|
+
"./styles/module.layout.css": "./styles/module.layout.css",
|
|
204
|
+
"./styles/module.layout.min.css": "./styles/module.layout.min.css",
|
|
205
|
+
"./styles/module.reset.css": "./styles/module.reset.css",
|
|
206
|
+
"./styles/module.reset.min.css": "./styles/module.reset.min.css",
|
|
207
|
+
"./styles/module.shims.css": "./styles/module.shims.css",
|
|
208
|
+
"./styles/module.shims.min.css": "./styles/module.shims.min.css",
|
|
209
|
+
"./styles/module.typography.css": "./styles/module.typography.css",
|
|
210
|
+
"./styles/module.typography.min.css": "./styles/module.typography.min.css",
|
|
211
|
+
"./styles/theme.dark.css": "./styles/theme.dark.css",
|
|
212
|
+
"./styles/theme.dark.min.css": "./styles/theme.dark.min.css",
|
|
213
|
+
"./styles/theme.low-motion.css": "./styles/theme.low-motion.css",
|
|
214
|
+
"./styles/theme.low-motion.min.css": "./styles/theme.low-motion.min.css",
|
|
215
|
+
"./list/list.css": "./list/list.css",
|
|
216
|
+
"./list/list.min.css": "./list/list.min.css",
|
|
217
|
+
"./table/table.css": "./table/table.css",
|
|
218
|
+
"./table/table.min.css": "./table/table.min.css"
|
|
127
219
|
}
|
|
128
220
|
}
|
|
@@ -21,8 +21,8 @@ import { LitElement } from 'lit';
|
|
|
21
21
|
export declare class CdsProgressCircle extends LitElement {
|
|
22
22
|
private _size;
|
|
23
23
|
/**
|
|
24
|
-
* @type {neutral | info | success | warning | danger}
|
|
25
24
|
* Sets the color of the badge
|
|
25
|
+
* @type {neutral | info | success | warning | danger}
|
|
26
26
|
*/
|
|
27
27
|
status: StatusTypes;
|
|
28
28
|
/**
|
|
@@ -50,8 +50,8 @@ export declare class CdsProgressCircle extends LitElement {
|
|
|
50
50
|
private get progressOffset();
|
|
51
51
|
get size(): string;
|
|
52
52
|
/**
|
|
53
|
-
* @type {string | sm | md | lg | xl | xxl}
|
|
54
53
|
* Apply numerical width-height or a t-shirt-sized CSS classname
|
|
54
|
+
* @type {string | sm | md | lg | xl | xxl}
|
|
55
55
|
*/
|
|
56
56
|
set size(val: string);
|
|
57
57
|
private setAriaAttributes;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__decorate as
|
|
1
|
+
import{__decorate as o}from"tslib";import{querySlotAll as t,id as r}from"@cds/core/internal";import{CdsInternalControlGroup as s}from"@cds/core/forms";class e extends s{static get styles(){return[...super.styles]}firstUpdated(o){super.firstUpdated(o),this.associateRadioControls(),this.syncRadioControls()}associateRadioControls(){this.controls.forEach((o=>o&&o.inputControl.setAttribute("name",this.radioName)))}syncRadioControls(){this.controls.forEach((o=>o.addEventListener("checkedChange",(o=>{o.detail&&(Array.from(this.controls).forEach((o=>o.inputControl.checked=!1)),o.target.inputControl.checked=!0)}))))}}o([t("cds-radio, cds-radio")],e.prototype,"controls",void 0),o([r()],e.prototype,"radioName",void 0);export{e as CdsRadioGroup};
|
|
2
2
|
//# sourceMappingURL=radio-group.element.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.element.js","sources":["../../../src/radio/radio-group.element.ts"],"sourcesContent":null,"names":["CdsRadioGroup","CdsInternalControlGroup","styles","super","[object Object]","props","firstUpdated","this","associateRadioControls","syncRadioControls","controls","forEach","radio","inputControl","setAttribute","radioName","c","addEventListener","e","detail","Array","from","checked","target","__decorate","querySlotAll","prototype","id"],"mappings":"uJAiCO,MAAMA,UAAsBC,EAC/BC,oBACI,MAAO,IAAIC,MAAMD,QAErBE,aAAaC,GACTF,MAAMG,aAAaD,GACnBE,KAAKC,yBACLD,KAAKE,oBAETL,yBACIG,KAAKG,SAASC,SAAQC,GAASA,GAASA,EAAMC,aAAaC,aAAa,OAAQP,KAAKQ,aAEzFX,oBACIG,KAAKG,SAASC,SAAQK,GAAKA,EAAEC,iBAAiB,iBAAkBC,IACxDA,EAAEC,SACFC,MAAMC,KAAKd,KAAKG,UAAUC,SAAQK,GAAMA,EAAEH,aAAaS,SAAU,IACjEJ,EAAEK,OAAOV,aAAaS,SAAU,SAKhDE,EAAW,CACPC,EAAa,
|
|
1
|
+
{"version":3,"file":"radio-group.element.js","sources":["../../../src/radio/radio-group.element.ts"],"sourcesContent":null,"names":["CdsRadioGroup","CdsInternalControlGroup","styles","super","[object Object]","props","firstUpdated","this","associateRadioControls","syncRadioControls","controls","forEach","radio","inputControl","setAttribute","radioName","c","addEventListener","e","detail","Array","from","checked","target","__decorate","querySlotAll","prototype","id"],"mappings":"uJAiCO,MAAMA,UAAsBC,EAC/BC,oBACI,MAAO,IAAIC,MAAMD,QAErBE,aAAaC,GACTF,MAAMG,aAAaD,GACnBE,KAAKC,yBACLD,KAAKE,oBAETL,yBACIG,KAAKG,SAASC,SAAQC,GAASA,GAASA,EAAMC,aAAaC,aAAa,OAAQP,KAAKQ,aAEzFX,oBACIG,KAAKG,SAASC,SAAQK,GAAKA,EAAEC,iBAAiB,iBAAkBC,IACxDA,EAAEC,SACFC,MAAMC,KAAKd,KAAKG,UAAUC,SAAQK,GAAMA,EAAEH,aAAaS,SAAU,IACjEJ,EAAEK,OAAOV,aAAaS,SAAU,SAKhDE,EAAW,CACPC,EAAa,yBACdzB,EAAc0B,UAAW,gBAAY,GACxCF,EAAW,CACPG,KACD3B,EAAc0B,UAAW,iBAAa"}
|
package/select/register.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{registerElementSafely as
|
|
1
|
+
import{registerElementSafely as r}from"@cds/core/internal";import{CdsSelect as e}from"./select.element.js";import{ClarityIcons as o}from"@cds/core/icon/icon.service.js";import{angleIcon as s}from"@cds/core/icon/shapes/angle.js";import"@cds/core/forms/register.js";import"@cds/core/icon/register.js";o.addIcons(s),r("cds-select",e);
|
|
2
2
|
//# sourceMappingURL=register.js.map
|
package/select/register.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"register.js","sources":["../../../src/select/register.ts"],"sourcesContent":null,"names":["registerElementSafely","CdsSelect"],"mappings":"
|
|
1
|
+
{"version":3,"file":"register.js","sources":["../../../src/select/register.ts"],"sourcesContent":null,"names":["ClarityIcons","addIcons","angleIcon","registerElementSafely","CdsSelect"],"mappings":"2SAWAA,EAAaC,SAASC,GACtBC,EAAsB,aAAcC"}
|
|
@@ -35,6 +35,6 @@ export declare class CdsSelect extends CdsControl {
|
|
|
35
35
|
static get styles(): import("lit").CSSResultGroup[];
|
|
36
36
|
protected globalStyles: import("lit").CSSResultGroup;
|
|
37
37
|
protected multiple: boolean;
|
|
38
|
-
|
|
38
|
+
protected size: boolean;
|
|
39
39
|
firstUpdated(props: Map<string, any>): void;
|
|
40
40
|
}
|
package/select/select.element.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{__decorate as t}from"tslib";import{html as
|
|
1
|
+
import{__decorate as t}from"tslib";import{html as e}from"lit";import{listenForAttributeChange as s,globalStyle as o,state as i}from"@cds/core/internal";import{CdsControl as r}from"@cds/core/forms";import{inputStyles as l}from"@cds/core/input";import p from"./select.global.scss.js";import n from"./select.element.scss.js";class c extends r{constructor(){super(...arguments),this.globalStyles=p,this.multiple=!1,this.size=!1}get suffixDefaultTemplate(){return e`<cds-control-action readonly="readonly"><cds-icon shape="angle" direction="down"></cds-icon></cds-control-action>`}static get styles(){return[...super.styles,l,n]}firstUpdated(t){super.firstUpdated(t),this.multiple=this.inputControl.hasAttribute("multiple"),this.observers.push(s(this.inputControl,"multiple",(t=>this.multiple=null!==t))),this.size=this.inputControl.hasAttribute("size"),this.observers.push(s(this.inputControl,"size",(t=>this.size=null!==t)))}}t([o()],c.prototype,"globalStyles",void 0),t([i({type:Boolean,reflect:!0})],c.prototype,"multiple",void 0),t([i({type:Boolean,reflect:!0})],c.prototype,"size",void 0);export{c as CdsSelect};
|
|
2
2
|
//# sourceMappingURL=select.element.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"select.element.js","sources":["../../../src/select/select.element.ts"],"sourcesContent":null,"names":["CdsSelect","CdsControl","[object Object]","super","this","globalStyles","multiple","
|
|
1
|
+
{"version":3,"file":"select.element.js","sources":["../../../src/select/select.element.ts"],"sourcesContent":null,"names":["CdsSelect","CdsControl","[object Object]","super","arguments","this","globalStyles","multiple","size","suffixDefaultTemplate","html","styles","inputStyles","props","firstUpdated","inputControl","hasAttribute","observers","push","listenForAttributeChange","val","__decorate","globalStyle","prototype","state","type","Boolean","reflect"],"mappings":"kUA2CO,MAAMA,UAAkBC,EAC3BC,cACIC,SAASC,WACTC,KAAKC,aAAeA,EACpBD,KAAKE,UAAW,EAChBF,KAAKG,MAAO,EAEhBC,4BACI,OAAOC,CAAK,oHAEhBC,oBACI,MAAO,IAAIR,MAAMQ,OAAQC,EAAaD,GAE1CT,aAAaW,GACTV,MAAMW,aAAaD,GACnBR,KAAKE,SAAWF,KAAKU,aAAaC,aAAa,YAC/CX,KAAKY,UAAUC,KAAKC,EAAyBd,KAAKU,aAAc,YAAYK,GAAQf,KAAKE,SAAmB,OAARa,KACpGf,KAAKG,KAAOH,KAAKU,aAAaC,aAAa,QAC3CX,KAAKY,UAAUC,KAAKC,EAAyBd,KAAKU,aAAc,QAAQK,GAAQf,KAAKG,KAAe,OAARY,MAGpGC,EAAW,CACPC,KACDtB,EAAUuB,UAAW,oBAAgB,GACxCF,EAAW,CACPG,EAAM,CAAEC,KAAMC,QAASC,SAAS,KACjC3B,EAAUuB,UAAW,gBAAY,GACpCF,EAAW,CACPG,EAAM,CAAEC,KAAMC,QAASC,SAAS,KACjC3B,EAAUuB,UAAW,YAAQ"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{css as o}from"lit";var
|
|
1
|
+
import{css as o}from"lit";var t=o`:host([_multiple]),:host([_size]){--border:var(--cds-alias-object-border-width-100, calc((1 / var(--cds-global-base, 20)) * 1rem)) solid var(--cds-alias-object-border-color, var(--cds-global-color-construction-200, #cbd4d8))!important;--border-bottom:0}:host([_multiple]) cds-control-action,:host([_size]) cds-control-action{display:none}::slotted([slot=input]){cursor:pointer}::slotted([slot=input][multiple]),::slotted([slot=input][size]){width:100%!important;border-radius:var(--cds-alias-object-border-radius-100,calc((4 / var(--cds-global-base,20)) * 1rem))!important;border:var(--border);padding:0!important;font-size:var(--cds-global-typography-font-size-3,calc((13 / var(--cds-global-base,20)) * 1rem))!important}`;export default t;
|
|
2
2
|
//# sourceMappingURL=select.element.scss.js.map
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CdsCheckbox } from '@cds/core/checkbox';
|
|
2
|
+
import { SelectionPanelSizes } from '../shared/selection-panel.interfaces.js';
|
|
3
|
+
/**
|
|
4
|
+
* Checkbox
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import '@cds/core/checkbox/register.js';
|
|
8
|
+
* ```
|
|
9
|
+
*
|
|
10
|
+
* ```html
|
|
11
|
+
* <cds-checkbox>
|
|
12
|
+
* <label>
|
|
13
|
+
* <div cds-layout="vertical align:center">
|
|
14
|
+
* <span cds-text="section">VM One</span>
|
|
15
|
+
* <cds-icon shape="vm" badge="info"></cds-icon>
|
|
16
|
+
* <p>Machines for orchestration and automation.</p>
|
|
17
|
+
* </div>
|
|
18
|
+
* </label>
|
|
19
|
+
* <input type="checkbox" />
|
|
20
|
+
* <cds-control-message>message text</cds-control-message>
|
|
21
|
+
* </cds-checkbox>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @element cds-checkbox
|
|
25
|
+
* @slot - For projecting checkbox and it's complex label
|
|
26
|
+
* @cssprop --width
|
|
27
|
+
* @cssprop --height
|
|
28
|
+
* @cssprop --border
|
|
29
|
+
* @cssprop --box-shadow
|
|
30
|
+
*/
|
|
31
|
+
export declare class CdsCheckboxPanel extends CdsCheckbox {
|
|
32
|
+
size: SelectionPanelSizes;
|
|
33
|
+
protected get internalLabelTemplate(): import("lit-html").TemplateResult<1>;
|
|
34
|
+
static get styles(): import("lit").CSSResultGroup[];
|
|
35
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__decorate as e}from"tslib";import{html as t}from"lit";import{CdsCheckbox as s}from"@cds/core/checkbox";import r from"../shared/selection-panel.element.scss.js";import{property as o}from"@cds/core/internal";class l extends s{constructor(){super(...arguments),this.size="default"}get internalLabelTemplate(){return t`<slot name="label" @slotchange="${()=>this.associateInputAndLabel()}"></slot>`}static get styles(){return[...super.styles,r]}}e([o({type:String})],l.prototype,"size",void 0);export{l as CdsCheckboxPanel};
|
|
2
|
+
//# sourceMappingURL=checkbox-panel.element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"checkbox-panel.element.js","sources":["../../../../src/selection-panels/checkbox/checkbox-panel.element.ts"],"sourcesContent":null,"names":["CdsCheckboxPanel","CdsCheckbox","[object Object]","super","arguments","this","size","internalLabelTemplate","html","associateInputAndLabel","styles","__decorate","property","type","String","prototype"],"mappings":"sNAsCO,MAAMA,UAAyBC,EAClCC,cACIC,SAASC,WACTC,KAAKC,KAAO,UAEhBC,4BACI,OAAOC,CAAK,mCAAkC,IAAMH,KAAKI,oCAE7DC,oBACI,MAAO,IAAIP,MAAMO,OAAQA,IAGjCC,EAAW,CACPC,EAAS,CAAEC,KAAMC,UAClBd,EAAiBe,UAAW,YAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.js","sources":["../../../../src/selection-panels/checkbox/register.ts"],"sourcesContent":null,"names":["registerElementSafely","CdsCheckboxPanel"],"mappings":"0HAOAA,EAAsB,qBAAsBC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This is a workaround so that the @cds/angular script will generate a
|
|
3
|
+
* module for selection panels that exports each directive.
|
|
4
|
+
* It should be removed when the generation script is updated to handle
|
|
5
|
+
* folders with children components. e.g
|
|
6
|
+
* selection-panels/
|
|
7
|
+
* checkbox/
|
|
8
|
+
* radio/
|
|
9
|
+
*/
|
|
10
|
+
export * from './checkbox/checkbox-panel.element.js';
|
|
11
|
+
export * from './radio/radio-panel.element.js';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":null,"names":[],"mappings":""}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { CdsRadio } from '@cds/core/radio';
|
|
2
|
+
import { SelectionPanelSizes } from '../shared/selection-panel.interfaces.js';
|
|
3
|
+
/**
|
|
4
|
+
* Checkbox
|
|
5
|
+
*
|
|
6
|
+
* ```typescript
|
|
7
|
+
* import '@cds/core/checkbox/register.js';
|
|
8
|
+
* ```
|
|
9
|
+
*
|
|
10
|
+
* ```html
|
|
11
|
+
* <cds-radio>
|
|
12
|
+
* <label>
|
|
13
|
+
* <div cds-layout="vertical align:center">
|
|
14
|
+
* <span cds-text="section">VM One</span>
|
|
15
|
+
* <cds-icon shape="vm" badge="info"></cds-icon>
|
|
16
|
+
* <p>Machines for orchestration and automation.</p>
|
|
17
|
+
* </div>
|
|
18
|
+
* </label>
|
|
19
|
+
* <input type="radio" />
|
|
20
|
+
* <cds-control-message>message text</cds-control-message>
|
|
21
|
+
* </cds-radio>
|
|
22
|
+
* ```
|
|
23
|
+
*
|
|
24
|
+
* @element cds-radio
|
|
25
|
+
* @slot - For projecting checkbox and it's complex label
|
|
26
|
+
* @cssprop --width
|
|
27
|
+
* @cssprop --height
|
|
28
|
+
* @cssprop --border
|
|
29
|
+
* @cssprop --box-shadow
|
|
30
|
+
*/
|
|
31
|
+
export declare class CdsRadioPanel extends CdsRadio {
|
|
32
|
+
size: SelectionPanelSizes;
|
|
33
|
+
static get styles(): import("lit").CSSResultGroup[];
|
|
34
|
+
protected get internalLabelTemplate(): import("lit-html").TemplateResult<1>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{__decorate as t}from"tslib";import{html as e}from"lit";import{CdsRadio as s}from"@cds/core/radio";import r from"../shared/selection-panel.element.scss.js";import{property as o}from"@cds/core/internal";class i extends s{constructor(){super(...arguments),this.size="default"}static get styles(){return[...super.styles,r]}get internalLabelTemplate(){return e`<slot name="label" @slotchange="${()=>this.associateInputAndLabel()}"></slot>`}}t([o({type:String})],i.prototype,"size",void 0);export{i as CdsRadioPanel};
|
|
2
|
+
//# sourceMappingURL=radio-panel.element.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"radio-panel.element.js","sources":["../../../../src/selection-panels/radio/radio-panel.element.ts"],"sourcesContent":null,"names":["CdsRadioPanel","CdsRadio","[object Object]","super","arguments","this","size","styles","internalLabelTemplate","html","associateInputAndLabel","__decorate","property","type","String","prototype"],"mappings":"gNAsCO,MAAMA,UAAsBC,EAC/BC,cACIC,SAASC,WACTC,KAAKC,KAAO,UAEhBC,oBACI,MAAO,IAAIJ,MAAMI,OAAQA,GAE7BC,4BACI,OAAOC,CAAK,mCAAkC,IAAMJ,KAAKK,qCAGjEC,EAAW,CACPC,EAAS,CAAEC,KAAMC,UAClBd,EAAce,UAAW,YAAQ"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.js","sources":["../../../../src/selection-panels/radio/register.ts"],"sourcesContent":null,"names":["registerElementSafely","CdsRadioPanel"],"mappings":"oHAOAA,EAAsB,kBAAmBC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CdsCheckboxPanel } from './checkbox/checkbox-panel.element.js';
|
|
2
|
+
import { CdsRadioPanel } from './radio/radio-panel.element.js';
|
|
3
|
+
declare global {
|
|
4
|
+
interface HTMLElementTagNameMap {
|
|
5
|
+
'cds-checkbox-panel': CdsCheckboxPanel;
|
|
6
|
+
'cds-radio-panel': CdsRadioPanel;
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{registerElementSafely as e}from"@cds/core/internal";import{CdsCheckboxPanel as o}from"./checkbox/checkbox-panel.element.js";import{CdsRadioPanel as r}from"./radio/radio-panel.element.js";e("cds-checkbox-panel",o),e("cds-radio-panel",r);
|
|
2
|
+
//# sourceMappingURL=register.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"register.js","sources":["../../../src/selection-panels/register.ts"],"sourcesContent":null,"names":["registerElementSafely","CdsCheckboxPanel","CdsRadioPanel"],"mappings":"kMAQAA,EAAsB,qBAAsBC,GAC5CD,EAAsB,kBAAmBE"}
|