@carbon/ibm-products-web-components 0.24.0 → 0.25.0-rc.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/custom-elements.json +315 -52
- package/es/components/checklist/checklist-chart.d.ts +25 -0
- package/es/components/checklist/checklist-chart.js +81 -0
- package/es/components/checklist/checklist-chart.js.map +1 -0
- package/es/components/checklist/checklist-group.d.ts +25 -0
- package/es/components/checklist/checklist-group.js +58 -0
- package/es/components/checklist/checklist-group.js.map +1 -0
- package/es/components/checklist/checklist-icon.d.ts +26 -0
- package/es/components/checklist/checklist-icon.js +72 -0
- package/es/components/checklist/checklist-icon.js.map +1 -0
- package/es/components/checklist/checklist-item.d.ts +40 -0
- package/es/components/checklist/checklist-item.js +122 -0
- package/es/components/checklist/checklist-item.js.map +1 -0
- package/es/components/checklist/checklist.d.ts +71 -0
- package/es/components/checklist/checklist.js +187 -0
- package/es/components/checklist/checklist.js.map +1 -0
- package/es/components/checklist/checklist.scss.js +13 -0
- package/es/components/checklist/checklist.scss.js.map +1 -0
- package/es/components/checklist/checklist.test.d.ts +7 -0
- package/es/components/checklist/checklist.test.js +172 -0
- package/es/components/checklist/checklist.test.js.map +1 -0
- package/es/components/checklist/checklist.types.d.ts +22 -0
- package/es/components/checklist/checklist.types.js +32 -0
- package/es/components/checklist/checklist.types.js.map +1 -0
- package/es/components/checklist/index.d.ts +13 -0
- package/es/components/checklist/index.js +13 -0
- package/es/components/checklist/index.js.map +1 -0
- package/es/components/interstitial-screen/interstitial-screen-footer.d.ts +1 -1
- package/es/components/interstitial-screen/interstitial-screen-footer.js +1 -1
- package/es/components/page-header/page-header-title-breadcrumb.d.ts +1 -1
- package/es/components/page-header/page-header-title-breadcrumb.js +1 -1
- package/es/packages/ibm-products-web-components/package.json.js +1 -1
- package/es-custom/components/checklist/checklist-chart.d.ts +25 -0
- package/es-custom/components/checklist/checklist-chart.js +81 -0
- package/es-custom/components/checklist/checklist-chart.js.map +1 -0
- package/es-custom/components/checklist/checklist-group.d.ts +25 -0
- package/es-custom/components/checklist/checklist-group.js +58 -0
- package/es-custom/components/checklist/checklist-group.js.map +1 -0
- package/es-custom/components/checklist/checklist-icon.d.ts +26 -0
- package/es-custom/components/checklist/checklist-icon.js +72 -0
- package/es-custom/components/checklist/checklist-icon.js.map +1 -0
- package/es-custom/components/checklist/checklist-item.d.ts +40 -0
- package/es-custom/components/checklist/checklist-item.js +122 -0
- package/es-custom/components/checklist/checklist-item.js.map +1 -0
- package/es-custom/components/checklist/checklist.d.ts +71 -0
- package/es-custom/components/checklist/checklist.js +187 -0
- package/es-custom/components/checklist/checklist.js.map +1 -0
- package/es-custom/components/checklist/checklist.scss.js +13 -0
- package/es-custom/components/checklist/checklist.scss.js.map +1 -0
- package/es-custom/components/checklist/checklist.test.d.ts +7 -0
- package/es-custom/components/checklist/checklist.test.js +172 -0
- package/es-custom/components/checklist/checklist.test.js.map +1 -0
- package/es-custom/components/checklist/checklist.types.d.ts +22 -0
- package/es-custom/components/checklist/checklist.types.js +32 -0
- package/es-custom/components/checklist/checklist.types.js.map +1 -0
- package/es-custom/components/checklist/index.d.ts +13 -0
- package/es-custom/components/checklist/index.js +13 -0
- package/es-custom/components/checklist/index.js.map +1 -0
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.d.ts +1 -1
- package/es-custom/components/interstitial-screen/interstitial-screen-footer.js +1 -1
- package/es-custom/components/page-header/page-header-title-breadcrumb.d.ts +1 -1
- package/es-custom/components/page-header/page-header-title-breadcrumb.js +1 -1
- package/es-custom/packages/ibm-products-web-components/package.json.js +1 -1
- package/lib/components/checklist/checklist-chart.d.ts +25 -0
- package/lib/components/checklist/checklist-group.d.ts +25 -0
- package/lib/components/checklist/checklist-icon.d.ts +26 -0
- package/lib/components/checklist/checklist-item.d.ts +40 -0
- package/lib/components/checklist/checklist.d.ts +71 -0
- package/lib/components/checklist/checklist.test.d.ts +7 -0
- package/lib/components/checklist/checklist.types.d.ts +22 -0
- package/lib/components/checklist/index.d.ts +13 -0
- package/lib/components/interstitial-screen/interstitial-screen-footer.d.ts +1 -1
- package/lib/components/page-header/page-header-title-breadcrumb.d.ts +1 -1
- package/package.json +3 -3
- package/scss/components/checklist/checklist.scss +65 -0
- package/telemetry.yml +26 -5
@@ -0,0 +1,65 @@
|
|
1
|
+
//
|
2
|
+
// Copyright IBM Corp. 2025
|
3
|
+
//
|
4
|
+
// This source code is licensed under the Apache-2.0 license found in the
|
5
|
+
// LICENSE file in the root directory of this source tree.
|
6
|
+
//
|
7
|
+
|
8
|
+
$css--plex: true !default;
|
9
|
+
|
10
|
+
@use '@carbon/styles/scss/reset';
|
11
|
+
@use '@carbon/styles/scss/spacing';
|
12
|
+
@use '@carbon/styles/scss/theme';
|
13
|
+
@use '@carbon/styles/scss/colors';
|
14
|
+
@use '@carbon/styles/scss/components/tag';
|
15
|
+
@use '@carbon/ibm-products-styles/scss/config';
|
16
|
+
@use '@carbon/ibm-products-styles/scss/components/Checklist/index' as checklist;
|
17
|
+
|
18
|
+
$prefix: config.$pkg-prefix;
|
19
|
+
$carbon-prefix: config.$carbon-prefix;
|
20
|
+
|
21
|
+
$baseClass: #{$prefix}--checklist;
|
22
|
+
|
23
|
+
:host(#{$prefix}-checklist) {
|
24
|
+
.#{$baseClass}__toggle {
|
25
|
+
margin-block-start: calc(-1 * spacing.$spacing-03);
|
26
|
+
margin-inline: auto calc(-1 * spacing.$spacing-03);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
:host(#{$prefix}-checklist-item) {
|
31
|
+
display: flex;
|
32
|
+
margin-block-end: spacing.$spacing-03;
|
33
|
+
}
|
34
|
+
|
35
|
+
:host(#{$prefix}-checklist-item:last-of-type) {
|
36
|
+
margin-block-end: 0;
|
37
|
+
}
|
38
|
+
|
39
|
+
:host(#{$prefix}-checklist-group) {
|
40
|
+
display: block;
|
41
|
+
padding: spacing.$spacing-05;
|
42
|
+
border-block-start: 1px solid theme.$border-subtle-01;
|
43
|
+
}
|
44
|
+
|
45
|
+
:host(#{$prefix}-checklist-group:first-of-type) {
|
46
|
+
border-block-start: none;
|
47
|
+
}
|
48
|
+
|
49
|
+
.#{$baseClass}__label--clickable {
|
50
|
+
color: theme.$link-primary;
|
51
|
+
cursor: pointer;
|
52
|
+
}
|
53
|
+
|
54
|
+
.#{$baseClass}__label--clickable:hover {
|
55
|
+
color: theme.$link-primary-hover;
|
56
|
+
text-decoration: underline;
|
57
|
+
}
|
58
|
+
|
59
|
+
.#{$baseClass}__chart {
|
60
|
+
border-radius: 50%;
|
61
|
+
background-image: conic-gradient(
|
62
|
+
colors.$purple-50 var(--#{$prefix}-num-degrees),
|
63
|
+
tag.$tag-background-gray var(--#{$prefix}-num-degrees) 360deg
|
64
|
+
);
|
65
|
+
}
|
package/telemetry.yml
CHANGED
@@ -28,6 +28,7 @@ collect:
|
|
28
28
|
- title
|
29
29
|
- type
|
30
30
|
- value
|
31
|
+
- view-all-label
|
31
32
|
- within-grid
|
32
33
|
# c4p-about-modal
|
33
34
|
- additionalInfo
|
@@ -38,6 +39,19 @@ collect:
|
|
38
39
|
- onc4p-about-modal-beingclosed
|
39
40
|
- onc4p-about-modal-closed
|
40
41
|
- version
|
42
|
+
# c4p-checklist
|
43
|
+
- chart-label
|
44
|
+
- chart-value
|
45
|
+
- disable-toggle
|
46
|
+
- onc4p-checklist-toggle
|
47
|
+
- onc4p-checklist-view-all
|
48
|
+
- toggle-aria-label
|
49
|
+
- toggle-label
|
50
|
+
- toggle-label-align
|
51
|
+
# c4p-checklist-item
|
52
|
+
- clickable
|
53
|
+
- onc4p-checklist-item-clicked
|
54
|
+
- status
|
41
55
|
# c4p-interstitial-screen
|
42
56
|
- fullscreen
|
43
57
|
- onc4p-interstitial-beingclosed
|
@@ -65,7 +79,6 @@ collect:
|
|
65
79
|
# c4p-notification-footer
|
66
80
|
- onc4p-notification-settings
|
67
81
|
- onc4p-notification-view-all
|
68
|
-
- view-all-label
|
69
82
|
# c4p-notification-panel
|
70
83
|
- date-time-locale
|
71
84
|
- dismiss-all-label
|
@@ -134,12 +147,17 @@ collect:
|
|
134
147
|
- tags-data
|
135
148
|
allowedAttributeStringValues:
|
136
149
|
# General - boolean attributes
|
137
|
-
-
|
138
|
-
-
|
150
|
+
- "true"
|
151
|
+
- "false"
|
139
152
|
# General - kind
|
140
|
-
-
|
141
|
-
-
|
153
|
+
- "403"
|
154
|
+
- "404"
|
155
|
+
- checked
|
142
156
|
- custom
|
157
|
+
- disabled
|
158
|
+
- error
|
159
|
+
- indeterminate
|
160
|
+
- unchecked
|
143
161
|
# General - size
|
144
162
|
- 2xl
|
145
163
|
- lg
|
@@ -171,3 +189,6 @@ collect:
|
|
171
189
|
js:
|
172
190
|
functions: {}
|
173
191
|
tokens: null
|
192
|
+
js:
|
193
|
+
functions: {}
|
194
|
+
tokens: null
|