@politiet/sheriff-web-components 2.4.3 → 2.5.1
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 +331 -0
- package/dist/frameworks/preact.d.ts +7 -1
- package/dist/frameworks/preact.d.ts.map +1 -1
- package/dist/frameworks/react.d.ts +7 -1
- package/dist/frameworks/react.d.ts.map +1 -1
- package/dist/frameworks/solidjs.d.ts +2 -0
- package/dist/frameworks/solidjs.d.ts.map +1 -1
- package/dist/frameworks/svelte.d.ts +2 -0
- package/dist/frameworks/svelte.d.ts.map +1 -1
- package/dist/frameworks/vue.d.ts +2 -0
- package/dist/frameworks/vue.d.ts.map +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/mixins/sds-event-dispatcher-mixin.d.ts +9 -0
- package/dist/mixins/sds-event-dispatcher-mixin.d.ts.map +1 -0
- package/dist/mixins/sds-event-dispatcher-mixin.js +69 -0
- package/dist/mixins/sds-event-dispatcher-mixin.js.map +1 -0
- package/dist/react-wrappers/SDSStepperStepWrapper.d.ts +3 -0
- package/dist/react-wrappers/SDSStepperStepWrapper.d.ts.map +1 -0
- package/dist/react-wrappers/SDSStepperStepWrapper.js +10 -0
- package/dist/react-wrappers/SDSStepperStepWrapper.js.map +1 -0
- package/dist/react-wrappers/SDSStepperWrapper.d.ts +6 -0
- package/dist/react-wrappers/SDSStepperWrapper.d.ts.map +1 -0
- package/dist/react-wrappers/SDSStepperWrapper.js +12 -0
- package/dist/react-wrappers/SDSStepperWrapper.js.map +1 -0
- package/dist/react-wrappers/SDSTextFieldWrapper.d.ts +2 -0
- package/dist/react-wrappers/SDSTextFieldWrapper.d.ts.map +1 -1
- package/dist/react-wrappers/SDSTextFieldWrapper.js +1 -0
- package/dist/react-wrappers/SDSTextFieldWrapper.js.map +1 -1
- package/dist/react-wrappers/index.d.ts +2 -0
- package/dist/react-wrappers/index.d.ts.map +1 -1
- package/dist/react-wrappers/index.js +2 -0
- package/dist/react-wrappers/index.js.map +1 -1
- package/dist/sds-alert/sds-alert.component.d.ts +2 -1
- package/dist/sds-alert/sds-alert.component.d.ts.map +1 -1
- package/dist/sds-alert/sds-alert.component.js +3 -5
- package/dist/sds-alert/sds-alert.component.js.map +1 -1
- package/dist/sds-button/sds-button.component.d.ts +2 -1
- package/dist/sds-button/sds-button.component.d.ts.map +1 -1
- package/dist/sds-button/sds-button.component.js +5 -17
- package/dist/sds-button/sds-button.component.js.map +1 -1
- package/dist/sds-checkbox/sds-checkbox.d.ts +2 -1
- package/dist/sds-checkbox/sds-checkbox.d.ts.map +1 -1
- package/dist/sds-checkbox/sds-checkbox.js +5 -4
- package/dist/sds-checkbox/sds-checkbox.js.map +1 -1
- package/dist/sds-checkbox-group/sds-checkbox-group.d.ts +2 -1
- package/dist/sds-checkbox-group/sds-checkbox-group.d.ts.map +1 -1
- package/dist/sds-checkbox-group/sds-checkbox-group.js +3 -5
- package/dist/sds-checkbox-group/sds-checkbox-group.js.map +1 -1
- package/dist/sds-chip/sds-chip.d.ts +2 -1
- package/dist/sds-chip/sds-chip.d.ts.map +1 -1
- package/dist/sds-chip/sds-chip.js +4 -9
- package/dist/sds-chip/sds-chip.js.map +1 -1
- package/dist/sds-details/sds-details.d.ts +3 -1
- package/dist/sds-details/sds-details.d.ts.map +1 -1
- package/dist/sds-details/sds-details.js +3 -6
- package/dist/sds-details/sds-details.js.map +1 -1
- package/dist/sds-dialog/sds-dialog.d.ts +2 -1
- package/dist/sds-dialog/sds-dialog.d.ts.map +1 -1
- package/dist/sds-dialog/sds-dialog.js +3 -5
- package/dist/sds-dialog/sds-dialog.js.map +1 -1
- package/dist/sds-icon/sds-icon.styles.d.ts.map +1 -1
- package/dist/sds-icon/sds-icon.styles.js +2 -1
- package/dist/sds-icon/sds-icon.styles.js.map +1 -1
- package/dist/sds-notification/sds-notification.d.ts +2 -1
- package/dist/sds-notification/sds-notification.d.ts.map +1 -1
- package/dist/sds-notification/sds-notification.js +3 -5
- package/dist/sds-notification/sds-notification.js.map +1 -1
- package/dist/sds-radio/sds-radio.d.ts +2 -1
- package/dist/sds-radio/sds-radio.d.ts.map +1 -1
- package/dist/sds-radio/sds-radio.js +5 -4
- package/dist/sds-radio/sds-radio.js.map +1 -1
- package/dist/sds-radio-group/sds-radio-group.d.ts +2 -1
- package/dist/sds-radio-group/sds-radio-group.d.ts.map +1 -1
- package/dist/sds-radio-group/sds-radio-group.js +3 -2
- package/dist/sds-radio-group/sds-radio-group.js.map +1 -1
- package/dist/sds-select/sds-select.d.ts +2 -1
- package/dist/sds-select/sds-select.d.ts.map +1 -1
- package/dist/sds-select/sds-select.js +6 -5
- package/dist/sds-select/sds-select.js.map +1 -1
- package/dist/sds-stepper/sds-stepper.d.ts +33 -0
- package/dist/sds-stepper/sds-stepper.d.ts.map +1 -0
- package/dist/sds-stepper/sds-stepper.js +81 -0
- package/dist/sds-stepper/sds-stepper.js.map +1 -0
- package/dist/sds-stepper/sds-stepper.styles.d.ts +2 -0
- package/dist/sds-stepper/sds-stepper.styles.d.ts.map +1 -0
- package/dist/sds-stepper/sds-stepper.styles.js +37 -0
- package/dist/sds-stepper/sds-stepper.styles.js.map +1 -0
- package/dist/sds-stepper-step/sds-stepper-step.d.ts +27 -0
- package/dist/sds-stepper-step/sds-stepper-step.d.ts.map +1 -0
- package/dist/sds-stepper-step/sds-stepper-step.js +70 -0
- package/dist/sds-stepper-step/sds-stepper-step.js.map +1 -0
- package/dist/sds-stepper-step/sds-stepper-step.styles.d.ts +2 -0
- package/dist/sds-stepper-step/sds-stepper-step.styles.d.ts.map +1 -0
- package/dist/sds-stepper-step/sds-stepper-step.styles.js +261 -0
- package/dist/sds-stepper-step/sds-stepper-step.styles.js.map +1 -0
- package/dist/sds-switch/sds-switch.d.ts +2 -1
- package/dist/sds-switch/sds-switch.d.ts.map +1 -1
- package/dist/sds-switch/sds-switch.js +5 -13
- package/dist/sds-switch/sds-switch.js.map +1 -1
- package/dist/sds-textarea/sds-textarea.d.ts +3 -1
- package/dist/sds-textarea/sds-textarea.d.ts.map +1 -1
- package/dist/sds-textarea/sds-textarea.js +15 -5
- package/dist/sds-textarea/sds-textarea.js.map +1 -1
- package/dist/sds-textfield/sds-textfield.d.ts +3 -1
- package/dist/sds-textfield/sds-textfield.d.ts.map +1 -1
- package/dist/sds-textfield/sds-textfield.js +28 -16
- package/dist/sds-textfield/sds-textfield.js.map +1 -1
- package/dist/sheriff-web-components.js +421 -114
- package/package.json +26 -26
- package/web-types.json +346 -141
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@politiet/sheriff-web-components",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Sheriff Design System Web Components Library",
|
|
5
5
|
"author": "Politiets IT-enhet",
|
|
6
6
|
"license": "ISC",
|
|
@@ -18,7 +18,6 @@
|
|
|
18
18
|
"exports": {
|
|
19
19
|
".": {
|
|
20
20
|
"import": "./dist/index.js",
|
|
21
|
-
"require": "./dist/index.js",
|
|
22
21
|
"types": "./dist/index.d.ts"
|
|
23
22
|
},
|
|
24
23
|
"./framework/preact": {
|
|
@@ -38,97 +37,98 @@
|
|
|
38
37
|
},
|
|
39
38
|
"./react-wrappers": {
|
|
40
39
|
"import": "./dist/react-wrappers/index.js",
|
|
41
|
-
"require": "./dist/react-wrappers/index.js",
|
|
42
40
|
"types": "./dist/react-wrappers/index.d.ts"
|
|
43
41
|
},
|
|
44
42
|
"./sds-alert": {
|
|
45
43
|
"import": "./dist/sds-alert/sds-alert.js",
|
|
46
|
-
"require": "./dist/sds-alert/sds-alert.js",
|
|
47
44
|
"types": "./dist/sds-alert/sds-alert.d.ts"
|
|
48
45
|
},
|
|
49
46
|
"./sds-button": {
|
|
50
47
|
"import": "./dist/sds-button/sds-button.js",
|
|
51
|
-
"require": "./dist/sds-button/sds-button.js",
|
|
52
48
|
"types": "./dist/sds-button/sds-button.d.ts"
|
|
53
49
|
},
|
|
50
|
+
"./sds-card": {
|
|
51
|
+
"import": "./dist/sds-card/sds-card.js",
|
|
52
|
+
"types": "./dist/sds-card/sds-card.d.ts"
|
|
53
|
+
},
|
|
54
54
|
"./sds-checkbox": {
|
|
55
55
|
"import": "./dist/sds-checkbox/sds-checkbox.js",
|
|
56
|
-
"require": "./dist/sds-checkbox/sds-checkbox.js",
|
|
57
56
|
"types": "./dist/sds-checkbox/sds-checkbox.d.ts"
|
|
58
57
|
},
|
|
59
58
|
"./sds-checkbox-group": {
|
|
60
59
|
"import": "./dist/sds-checkbox-group/sds-checkbox-group.js",
|
|
61
|
-
"require": "./dist/sds-checkbox-group/sds-checkbox-group.js",
|
|
62
60
|
"types": "./dist/sds-checkbox-group/sds-checkbox-group.d.ts"
|
|
63
61
|
},
|
|
64
62
|
"./sds-chip": {
|
|
65
63
|
"import": "./dist/sds-chip/sds-chip.js",
|
|
66
|
-
"require": "./dist/sds-chip/sds-chip.js",
|
|
67
64
|
"types": "./dist/sds-chip/sds-chip.d.ts"
|
|
68
65
|
},
|
|
66
|
+
"./sds-details": {
|
|
67
|
+
"import": "./dist/sds-details/sds-details.js",
|
|
68
|
+
"types": "./dist/sds-details/sds-details.d.ts"
|
|
69
|
+
},
|
|
70
|
+
"./sds-dialog": {
|
|
71
|
+
"import": "./dist/sds-dialog/sds-dialog.js",
|
|
72
|
+
"types": "./dist/sds-dialog/sds-dialog.d.ts"
|
|
73
|
+
},
|
|
69
74
|
"./sds-heading": {
|
|
70
75
|
"import": "./dist/sds-heading/sds-heading.js",
|
|
71
|
-
"require": "./dist/sds-heading/sds-heading.js",
|
|
72
76
|
"types": "./dist/sds-heading/sds-heading.d.ts"
|
|
73
77
|
},
|
|
74
78
|
"./sds-icon": {
|
|
75
79
|
"import": "./dist/sds-icon/sds-icon.js",
|
|
76
|
-
"require": "./dist/sds-icon/sds-icon.js",
|
|
77
80
|
"types": "./dist/sds-icon/sds-icon.d.ts"
|
|
78
81
|
},
|
|
79
82
|
"./sds-icon/icon-loader": {
|
|
80
83
|
"import": "./dist/sds-icon/sds-icon-loader.js",
|
|
81
|
-
"require": "./dist/sds-icon/sds-icon-loader.js",
|
|
82
84
|
"types": "./dist/sds-icon/sds-icon-loader.d.ts"
|
|
83
85
|
},
|
|
84
86
|
"./sds-loader": {
|
|
85
87
|
"import": "./dist/sds-loader/sds-loader.js",
|
|
86
|
-
"require": "./dist/sds-loader/sds-loader.js",
|
|
87
88
|
"types": "./dist/sds-loader/sds-loader.d.ts"
|
|
88
89
|
},
|
|
89
|
-
"./sds-card": {
|
|
90
|
-
"import": "./dist/sds-card/sds-card.js",
|
|
91
|
-
"require": "./dist/sds-card/sds-card.js",
|
|
92
|
-
"types": "./dist/sds-card/sds-card.d.ts"
|
|
93
|
-
},
|
|
94
90
|
"./sds-notification": {
|
|
95
91
|
"import": "./dist/sds-notification/sds-notification.js",
|
|
96
|
-
"require": "./dist/sds-notification/sds-notification.js",
|
|
97
92
|
"types": "./dist/sds-notification/sds-notification.d.ts"
|
|
98
93
|
},
|
|
99
94
|
"./sds-radio": {
|
|
100
95
|
"import": "./dist/sds-radio/sds-radio.js",
|
|
101
|
-
"require": "./dist/sds-radio/sds-radio.js",
|
|
102
96
|
"types": "./dist/sds-radio/sds-radio.d.ts"
|
|
103
97
|
},
|
|
104
98
|
"./sds-radio-group": {
|
|
105
99
|
"import": "./dist/sds-radio-group/sds-radio-group.js",
|
|
106
|
-
"require": "./dist/sds-radio-group/sds-radio-group.js",
|
|
107
100
|
"types": "./dist/sds-radio-group/sds-radio-group.d.ts"
|
|
108
101
|
},
|
|
102
|
+
"./sds-select": {
|
|
103
|
+
"import": "./dist/sds-select/sds-select.js",
|
|
104
|
+
"types": "./dist/sds-select/sds-select.d.ts"
|
|
105
|
+
},
|
|
106
|
+
"./sds-stepper": {
|
|
107
|
+
"import": "./dist/sds-stepper/sds-stepper.js",
|
|
108
|
+
"types": "./dist/sds-stepper/sds-stepper.d.ts"
|
|
109
|
+
},
|
|
110
|
+
"./sds-stepper-step": {
|
|
111
|
+
"import": "./dist/sds-stepper-step/sds-stepper-step.js",
|
|
112
|
+
"types": "./dist/sds-stepper-step/sds-stepper-step.d.ts"
|
|
113
|
+
},
|
|
109
114
|
"./sds-switch": {
|
|
110
115
|
"import": "./dist/sds-switch/sds-switch.js",
|
|
111
|
-
"require": "./dist/sds-switch/sds-switch.js",
|
|
112
116
|
"types": "./dist/sds-switch/sds-switch.d.ts"
|
|
113
117
|
},
|
|
114
118
|
"./sds-tag": {
|
|
115
119
|
"import": "./dist/sds-tag/sds-tag.js",
|
|
116
|
-
"require": "./dist/sds-tag/sds-tag.js",
|
|
117
120
|
"types": "./dist/sds-tag/sds-tag.d.ts"
|
|
118
121
|
},
|
|
119
122
|
"./sds-text": {
|
|
120
123
|
"import": "./dist/sds-text/sds-text.js",
|
|
121
|
-
"require": "./dist/sds-text/sds-text.js",
|
|
122
124
|
"types": "./dist/sds-text/sds-text.d.ts"
|
|
123
125
|
},
|
|
124
126
|
"./sds-textarea": {
|
|
125
127
|
"import": "./dist/sds-textarea/sds-textarea.js",
|
|
126
|
-
"require": "./dist/sds-textarea/sds-textarea.js",
|
|
127
128
|
"types": "./dist/sds-textarea/sds-textarea.d.ts"
|
|
128
129
|
},
|
|
129
130
|
"./sds-textfield": {
|
|
130
131
|
"import": "./dist/sds-textfield/sds-textfield.js",
|
|
131
|
-
"require": "./dist/sds-textfield/sds-textfield.js",
|
|
132
132
|
"types": "./dist/sds-textfield/sds-textfield.d.ts"
|
|
133
133
|
}
|
|
134
134
|
},
|
|
@@ -147,7 +147,7 @@
|
|
|
147
147
|
"@politiet/sheriff-icons": "^2.0.2"
|
|
148
148
|
},
|
|
149
149
|
"peerDependencies": {
|
|
150
|
-
"@politiet/sheriff-css-framework": "^2.2.
|
|
150
|
+
"@politiet/sheriff-css-framework": "^2.2.3",
|
|
151
151
|
"typescript": ">=3.8.0"
|
|
152
152
|
},
|
|
153
153
|
"peerDependenciesMeta": {
|