@sebgroup/green-core 3.6.3 → 3.8.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/assets/icons/regular/arrows-repeat-right.svg +1 -0
- package/assets/icons/regular/asterisk.svg +1 -1
- package/assets/icons/regular/calendar-repeat.svg +3 -0
- package/assets/icons/solid/arrows-repeat-right.svg +2 -0
- package/assets/icons/solid/calendar-repeat.svg +3 -0
- package/assets/icons/solid/credit-card-add.svg +2 -2
- package/components/avatar/avatar-group/avatar-group.component.d.ts +21 -0
- package/components/avatar/avatar-group/avatar-group.component.js +32 -0
- package/components/avatar/avatar-group/avatar-group.d.ts +2 -0
- package/components/avatar/avatar-group/avatar-group.js +6 -0
- package/components/avatar/avatar-group/avatar-group.styles.d.ts +2 -0
- package/components/avatar/avatar-group/avatar-group.styles.js +21 -0
- package/components/avatar/avatar-group/index.d.ts +1 -0
- package/components/avatar/avatar-group/index.js +1 -0
- package/components/avatar/avatar.component.d.ts +51 -0
- package/components/avatar/avatar.component.js +100 -0
- package/components/avatar/avatar.d.ts +2 -0
- package/components/avatar/avatar.js +6 -0
- package/components/avatar/avatar.styles.d.ts +2 -0
- package/components/avatar/avatar.styles.js +124 -0
- package/components/avatar/index.d.ts +2 -0
- package/components/avatar/index.js +2 -0
- package/components/details/details.styles.js +0 -1
- package/components/icon/icons/arrows-repeat-right.component.d.ts +18 -0
- package/components/icon/icons/arrows-repeat-right.component.js +25 -0
- package/components/icon/icons/arrows-repeat-right.d.ts +2 -0
- package/components/icon/icons/arrows-repeat-right.js +6 -0
- package/components/icon/icons/asterisk.component.js +1 -1
- package/components/icon/icons/calendar-repeat.component.d.ts +18 -0
- package/components/icon/icons/calendar-repeat.component.js +25 -0
- package/components/icon/icons/calendar-repeat.d.ts +2 -0
- package/components/icon/icons/calendar-repeat.js +6 -0
- package/components/icon/icons/credit-card-add.component.js +1 -1
- package/components/icon/icons/index.d.ts +2 -0
- package/components/icon/icons/index.js +2 -0
- package/components/icon/icons/pure.d.ts +2 -0
- package/components/icon/icons/pure.js +2 -0
- package/components/index.d.ts +1 -0
- package/components/index.js +1 -0
- package/custom-elements.json +12273 -9763
- package/gds-element.js +1 -1
- package/generated/mcp/avatar/angular.md +17 -0
- package/generated/mcp/avatar/api.md +49 -0
- package/generated/mcp/avatar/guidelines.md +40 -0
- package/generated/mcp/avatar/index.json +9 -0
- package/generated/mcp/avatar/react.md +17 -0
- package/generated/mcp/avatar-group/angular.md +17 -0
- package/generated/mcp/avatar-group/api.md +38 -0
- package/generated/mcp/avatar-group/index.json +8 -0
- package/generated/mcp/avatar-group/react.md +17 -0
- package/generated/mcp/components.json +26 -1
- package/generated/mcp/concepts/architecture.md +40 -5
- package/generated/mcp/guides/installing.md +10 -69
- package/generated/mcp/icon-arrows-repeat-right/angular.md +15 -0
- package/generated/mcp/icon-arrows-repeat-right/api.md +31 -0
- package/generated/mcp/icon-arrows-repeat-right/index.json +8 -0
- package/generated/mcp/icon-arrows-repeat-right/react.md +15 -0
- package/generated/mcp/icon-calendar-repeat/angular.md +15 -0
- package/generated/mcp/icon-calendar-repeat/api.md +31 -0
- package/generated/mcp/icon-calendar-repeat/index.json +8 -0
- package/generated/mcp/icon-calendar-repeat/react.md +15 -0
- package/generated/mcp/icons.json +25 -1
- package/generated/mcp/index.json +1 -1
- package/generated/mcp/switch/guidelines.md +2 -2
- package/generated/mcp/tokens.json +1 -1
- package/generated/react/avatar/index.d.ts +681 -0
- package/generated/react/avatar/index.js +14 -0
- package/generated/react/avatar-group/index.d.ts +671 -0
- package/generated/react/avatar-group/index.js +14 -0
- package/generated/react/card-pattern-01/index.d.ts +1 -1
- package/generated/react/icons/icon-arrows-repeat-right/index.d.ts +672 -0
- package/generated/react/icons/icon-arrows-repeat-right/index.js +16 -0
- package/generated/react/icons/icon-calendar-repeat/index.d.ts +672 -0
- package/generated/react/icons/icon-calendar-repeat/index.js +16 -0
- package/generated/react/index.d.ts +11 -7
- package/generated/react/index.js +11 -7
- package/package.json +7 -1
- package/patterns/card-pattern-01/card-pattern-01.component.js +0 -1
- package/pure.d.ts +2 -0
- package/pure.js +2 -0
- package/utils/helpers/custom-element-scoping.js +1 -1
|
@@ -7,11 +7,11 @@ A toggle lets users switch a setting on or off.
|
|
|
7
7
|
|
|
8
8
|
### Behaviour
|
|
9
9
|
|
|
10
|
-
Changing the
|
|
10
|
+
Changing the switch updates the state immediately. The current state should always be clear to the user, and the component should provide feedback for different interaction states such as hover, focus, pressed, and disabled.
|
|
11
11
|
|
|
12
12
|
### Size
|
|
13
13
|
|
|
14
|
-
The
|
|
14
|
+
The switch is available in two sizes: default and small. The small size should only be used in compact views where space is limited, such as dense layouts or smaller components.
|
|
15
15
|
|
|
16
16
|
### Label
|
|
17
17
|
|