@ambita/design-system 4.0.6 → 5.0.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/dist/assets/index-2iDFtGG-.js +18 -0
- package/dist/assets/index-2iDFtGG-.js.map +1 -0
- package/dist/assets/index-CXMCzGvQ.css +1 -0
- package/dist/index.html +14 -0
- package/dist/types/src/App.vue.d.ts +77 -1
- package/dist/types/src/components/AuxAriaAnnouncer/AuxAriaAnnouncer.vue.d.ts +4 -4
- package/dist/types/src/components/Banner/Banner.vue.d.ts +10 -5
- package/dist/types/src/components/Button/Button.vue.d.ts +5 -5
- package/dist/types/src/components/Card/Card.vue.d.ts +1 -1
- package/dist/types/src/components/Checkbox/Checkbox.vue.d.ts +125 -12
- package/dist/types/src/components/Checkbox/CheckboxCard.vue.d.ts +6 -6
- package/dist/types/src/components/Checkbox/CheckboxRegular.vue.d.ts +6 -6
- package/dist/types/src/components/CheckboxDropdown/CheckboxDropdown.vue.d.ts +243 -5
- package/dist/types/src/components/Color/ColorSwatch.vue.d.ts +4 -4
- package/dist/types/src/components/Definition/Definition.vue.d.ts +5 -5
- package/dist/types/src/components/Details/Details.vue.d.ts +49 -1
- package/dist/types/src/components/DirectionalArrow/DirectionalArrow.vue.d.ts +7 -15
- package/dist/types/src/components/FormElement/FormElement.vue.d.ts +60 -4
- package/dist/types/src/components/Icons/IconPreview.vue.d.ts +5 -3
- package/dist/types/src/components/Input/Input.vue.d.ts +115 -7
- package/dist/types/src/components/JsonForm/Components/Checkboxes.vue.d.ts +350 -6
- package/dist/types/src/components/JsonForm/Components/RadioButtons.vue.d.ts +360 -10
- package/dist/types/src/components/JsonForm/Controls/Array.vue.d.ts +844 -6
- package/dist/types/src/components/JsonForm/Controls/Boolean.vue.d.ts +243 -5
- package/dist/types/src/components/JsonForm/Controls/Number.vue.d.ts +854 -6
- package/dist/types/src/components/JsonForm/Controls/String.vue.d.ts +854 -6
- package/dist/types/src/components/JsonForm/Controls/Wrapper.vue.d.ts +25 -5
- package/dist/types/src/components/JsonForm/JsonForm.vue.d.ts +167 -5
- package/dist/types/src/components/JsonForm/Renderers/Array.vue.d.ts +935 -75
- package/dist/types/src/components/JsonForm/Renderers/Boolean.vue.d.ts +331 -75
- package/dist/types/src/components/JsonForm/Renderers/Integer.vue.d.ts +945 -75
- package/dist/types/src/components/JsonForm/Renderers/Layout.vue.d.ts +105 -67
- package/dist/types/src/components/JsonForm/Renderers/Number.vue.d.ts +945 -75
- package/dist/types/src/components/JsonForm/Renderers/Object.vue.d.ts +113 -75
- package/dist/types/src/components/JsonForm/Renderers/String.vue.d.ts +946 -75
- package/dist/types/src/components/Link/Link.vue.d.ts +6 -6
- package/dist/types/src/components/Logo/Logo.vue.d.ts +6 -4
- package/dist/types/src/components/Modal/Actions.vue.d.ts +68 -6
- package/dist/types/src/components/Modal/Modal.vue.d.ts +90 -8
- package/dist/types/src/components/Notification/Notification.vue.d.ts +5 -5
- package/dist/types/src/components/Notification/Notifications.vue.d.ts +36 -6
- package/dist/types/src/components/Pagination/Pagination.vue.d.ts +73 -8
- package/dist/types/src/components/Pill/Pill.vue.d.ts +5 -5
- package/dist/types/src/components/Radio/Radio.vue.d.ts +6 -6
- package/dist/types/src/components/RadioGroup/RadioGroup.vue.d.ts +217 -12
- package/dist/types/src/components/RadioGroup/RadioGroupCardElement.vue.d.ts +6 -6
- package/dist/types/src/components/RadioGroup/RadioGroupElement.vue.d.ts +6 -6
- package/dist/types/src/components/Select/Select.vue.d.ts +117 -10
- package/dist/types/src/components/Spinner/Spinner.vue.d.ts +5 -5
- package/dist/types/src/components/StatusBadge/StatusBadge.vue.d.ts +5 -5
- package/dist/types/src/components/Tag/Tag.vue.d.ts +5 -5
- package/dist/types/src/components/TextArea/TextArea.vue.d.ts +115 -8
- package/dist/types/src/components/Time/Time.vue.d.ts +4 -4
- package/dist/types/src/components/Toggle/Toggle.vue.d.ts +9 -9
- package/dist/types/src/components/Upload/File/File.vue.d.ts +71 -6
- package/dist/types/src/components/Upload/Upload.vue.d.ts +248 -9
- package/dist/types/src/components/ValidationWrapper/ValidationWrapper.vue.d.ts +6 -4
- package/dist/types/src/helpers/formatters/formatDateAndTime/Storybook/FormatDateAndTime.vue.d.ts +1 -1
- package/dist/types/src/helpers/formatters/formatQuantity/Storybook/FormatAmount.vue.d.ts +1 -1
- package/dist/types/src/helpers/formatters/formatQuantity/Storybook/FormatNumber.vue.d.ts +1 -1
- package/dist/types/tsconfig.app.tsbuildinfo +1 -1
- package/package.json +41 -33
- package/dist/ambita-logo.svg +0 -1
- package/dist/css/colors-css-variables.scss +0 -65
- package/dist/css/colors-scss-variables.scss +0 -60
- package/dist/css/mixins.scss +0 -147
- package/dist/ds.js +0 -21
- package/dist/ds.js.map +0 -1
- package/dist/ds.mjs +0 -16171
- package/dist/ds.mjs.map +0 -1
- package/dist/ds.umd.js +0 -22
- package/dist/ds.umd.js.map +0 -1
- package/dist/favicons/ambita/favicon.ico +0 -0
- package/dist/favicons/ambita/favicon.svg +0 -9
- package/dist/index.css +0 -1
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
@import './colors-scss-variables';
|
|
2
|
-
|
|
3
|
-
/* Do not use if you need IE11 support */
|
|
4
|
-
:root {
|
|
5
|
-
/* Purple */
|
|
6
|
-
--aux-purple: #{$aux-purple};
|
|
7
|
-
--aux-purple-1: #{$aux-purple-1};
|
|
8
|
-
--aux-purple-2: #{$aux-purple-2};
|
|
9
|
-
--aux-purple-3: #{$aux-purple-3};
|
|
10
|
-
--aux-purple-4: #{$aux-purple-4};
|
|
11
|
-
--aux-purple-5: #{$aux-purple-5};
|
|
12
|
-
--aux-purple-6: #{$aux-purple-6};
|
|
13
|
-
--aux-purple-7: #{$aux-purple-7};
|
|
14
|
-
--aux-purple-8: #{$aux-purple-8};
|
|
15
|
-
|
|
16
|
-
/* Dark Purple */
|
|
17
|
-
--aux-dark-purple: #{$aux-dark-purple};
|
|
18
|
-
--aux-dark-purple-1: #{$aux-dark-purple-1};
|
|
19
|
-
--aux-dark-purple-2: #{$aux-dark-purple-2};
|
|
20
|
-
--aux-dark-purple-3: #{$aux-dark-purple-3};
|
|
21
|
-
--aux-dark-purple-4: #{$aux-dark-purple-4};
|
|
22
|
-
--aux-dark-purple-5: #{$aux-dark-purple-5};
|
|
23
|
-
--aux-dark-purple-6: #{$aux-dark-purple-6};
|
|
24
|
-
--aux-dark-purple-7: #{$aux-dark-purple-7};
|
|
25
|
-
--aux-dark-purple-8: #{$aux-dark-purple-8};
|
|
26
|
-
|
|
27
|
-
/* Mint green */
|
|
28
|
-
--aux-mint: #{$aux-mint};
|
|
29
|
-
--aux-mint-1: #{$aux-mint-1};
|
|
30
|
-
--aux-mint-2: #{$aux-mint-2};
|
|
31
|
-
--aux-mint-3: #{$aux-mint-3};
|
|
32
|
-
--aux-mint-4: #{$aux-mint-4};
|
|
33
|
-
--aux-mint-5: #{$aux-mint-5};
|
|
34
|
-
--aux-mint-6: #{$aux-mint-6};
|
|
35
|
-
--aux-mint-7: #{$aux-mint-7};
|
|
36
|
-
--aux-mint-8: #{$aux-mint-8};
|
|
37
|
-
|
|
38
|
-
/* Grey */
|
|
39
|
-
--aux-grey-1: #{$aux-grey-1};
|
|
40
|
-
--aux-grey-2: #{$aux-grey-2};
|
|
41
|
-
--aux-grey-3: #{$aux-grey-3};
|
|
42
|
-
--aux-grey-4: #{$aux-grey-4};
|
|
43
|
-
--aux-grey-5: #{$aux-grey-5};
|
|
44
|
-
--aux-grey-6: #{$aux-grey-6};
|
|
45
|
-
|
|
46
|
-
/* Supports */
|
|
47
|
-
--aux-red: #{$aux-red};
|
|
48
|
-
--aux-red-1: #{$aux-red-1};
|
|
49
|
-
|
|
50
|
-
--aux-blue: #{$aux-blue};
|
|
51
|
-
--aux-blue-2: #{$aux-blue-2};
|
|
52
|
-
|
|
53
|
-
--aux-yellow: #{$aux-yellow};
|
|
54
|
-
--aux-yellow-1: #{$aux-yellow-1};
|
|
55
|
-
--aux-yellow-2: #{$aux-yellow-2};
|
|
56
|
-
|
|
57
|
-
--aux-green: #{$aux-green};
|
|
58
|
-
--aux-white: #{$aux-white};
|
|
59
|
-
--aux-black: #{$aux-black};
|
|
60
|
-
--aux-focus: #{$aux-focus};
|
|
61
|
-
|
|
62
|
-
/* Borders */
|
|
63
|
-
--aux-border-1-grey-1: 1px solid #{$aux-grey-1};
|
|
64
|
-
--aux-border-2-grey-1: 2px solid #{$aux-grey-1};
|
|
65
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// Purple
|
|
2
|
-
$aux-purple: #8237dc;
|
|
3
|
-
$aux-purple-1: #e6d7f8;
|
|
4
|
-
$aux-purple-2: #cdaff1;
|
|
5
|
-
$aux-purple-3: #b487ea;
|
|
6
|
-
$aux-purple-4: #9b5fe3;
|
|
7
|
-
$aux-purple-5: #682cb0;
|
|
8
|
-
$aux-purple-6: #4e2184;
|
|
9
|
-
$aux-purple-7: #341658;
|
|
10
|
-
$aux-purple-8: #1a0b2c;
|
|
11
|
-
|
|
12
|
-
// Dark Purple
|
|
13
|
-
$aux-dark-purple: #360076;
|
|
14
|
-
$aux-dark-purple-1: #d8cde6;
|
|
15
|
-
$aux-dark-purple-2: #b098c6;
|
|
16
|
-
$aux-dark-purple-3: #8666ac;
|
|
17
|
-
$aux-dark-purple-4: #5f3591;
|
|
18
|
-
$aux-dark-purple-5: #2d1c5b;
|
|
19
|
-
$aux-dark-purple-6: #200e47;
|
|
20
|
-
$aux-dark-purple-7: #1a0f2e;
|
|
21
|
-
$aux-dark-purple-8: #110b18;
|
|
22
|
-
|
|
23
|
-
// Mint
|
|
24
|
-
$aux-mint: #34d9c3;
|
|
25
|
-
$aux-mint-1: #d8efee;
|
|
26
|
-
$aux-mint-2: #b5e1dd;
|
|
27
|
-
$aux-mint-3: #93d4d0;
|
|
28
|
-
$aux-mint-4: #72cac3;
|
|
29
|
-
$aux-mint-5: #26ae9b;
|
|
30
|
-
$aux-mint-6: #218376;
|
|
31
|
-
$aux-mint-7: #14584e;
|
|
32
|
-
$aux-mint-8: #0a2b26;
|
|
33
|
-
|
|
34
|
-
// Grey
|
|
35
|
-
$aux-grey-1: #e1e1e1;
|
|
36
|
-
$aux-grey-2: #d2d2d2;
|
|
37
|
-
$aux-grey-3: #bebebe;
|
|
38
|
-
$aux-grey-4: #afafaf;
|
|
39
|
-
$aux-grey-5: #555555;
|
|
40
|
-
$aux-grey-6: #333333;
|
|
41
|
-
|
|
42
|
-
// Supports
|
|
43
|
-
$aux-red: #ac1631;
|
|
44
|
-
$aux-red-1: #ffe5e5;
|
|
45
|
-
|
|
46
|
-
$aux-blue: #0067a3;
|
|
47
|
-
$aux-blue-2: #c2e0f2;
|
|
48
|
-
|
|
49
|
-
$aux-yellow: #ecd025;
|
|
50
|
-
$aux-yellow-1: #fff3a8;
|
|
51
|
-
$aux-yellow-2: #f2c94c;
|
|
52
|
-
|
|
53
|
-
$aux-green: #5cb85c;
|
|
54
|
-
$aux-white: #fff;
|
|
55
|
-
$aux-black: #000;
|
|
56
|
-
$aux-focus: #003eff;
|
|
57
|
-
|
|
58
|
-
// Borders
|
|
59
|
-
$aux-border-1-grey-1: 1px solid $aux-grey-1;
|
|
60
|
-
$aux-border-2-grey-1: 2px solid $aux-grey-1;
|
package/dist/css/mixins.scss
DELETED
|
@@ -1,147 +0,0 @@
|
|
|
1
|
-
$aux-focus-indicator-style:
|
|
2
|
-
0 0 0 3px $aux-white,
|
|
3
|
-
0 0 0 6px $aux-focus;
|
|
4
|
-
|
|
5
|
-
@mixin aux-focus-indicator {
|
|
6
|
-
& {
|
|
7
|
-
outline: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Safari does not support :focus-visible.
|
|
12
|
-
* Merging the rules below will break the
|
|
13
|
-
* focus functionality.
|
|
14
|
-
*/
|
|
15
|
-
&:focus {
|
|
16
|
-
box-shadow: $aux-focus-indicator-style;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
&:focus-visible {
|
|
20
|
-
/* This has to be slightly different from the focus rule above. */
|
|
21
|
-
box-shadow:
|
|
22
|
-
$aux-focus-indicator-style,
|
|
23
|
-
0 0 0 0px transparent;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.aux-validation-wrapper--haserror &:focus-visible {
|
|
27
|
-
/* This has to be slightly different from the focus rule above. */
|
|
28
|
-
box-shadow:
|
|
29
|
-
0 0 0px 1px $aux-red,
|
|
30
|
-
$aux-focus-indicator-style,
|
|
31
|
-
0 0 0 0px transparent;
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:focus:not(:focus-visible) {
|
|
35
|
-
box-shadow: none;
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
@mixin aux-visually-hidden {
|
|
40
|
-
clip: rect(0 0 0 0);
|
|
41
|
-
clip-path: inset(100%);
|
|
42
|
-
height: 1px;
|
|
43
|
-
overflow: hidden;
|
|
44
|
-
position: absolute;
|
|
45
|
-
white-space: nowrap;
|
|
46
|
-
width: 1px;
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
@mixin aux-sr-only {
|
|
50
|
-
&:not(:focus):not(:active) {
|
|
51
|
-
@include aux-visually-hidden;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
@mixin aux-input-error {
|
|
56
|
-
.aux-validation-wrapper--haserror & {
|
|
57
|
-
border-color: $aux-red;
|
|
58
|
-
box-shadow: 0 0 0px 1px $aux-red;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
@mixin aux-input-radio-checkbox-error {
|
|
63
|
-
.aux-validation-wrapper--haserror input + label::before {
|
|
64
|
-
border-color: $aux-red;
|
|
65
|
-
box-shadow: 0 0 0px 1px $aux-red;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
.aux-validation-wrapper--haserror input:focus-visible + label::before {
|
|
69
|
-
box-shadow:
|
|
70
|
-
0 0 0px 1px $aux-red,
|
|
71
|
-
$aux-focus-indicator-style;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
.aux-validation-wrapper--haserror .aux-card-layout::before {
|
|
75
|
-
border-color: $aux-red;
|
|
76
|
-
box-shadow: 0 0 0px 1px $aux-red;
|
|
77
|
-
}
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
@mixin aux-card-layout {
|
|
81
|
-
cursor: pointer;
|
|
82
|
-
display: block;
|
|
83
|
-
padding-bottom: 11px;
|
|
84
|
-
padding-top: 15px;
|
|
85
|
-
padding-left: 47px;
|
|
86
|
-
padding-right: 15px;
|
|
87
|
-
box-shadow: 0 2px 5px $aux-grey-4;
|
|
88
|
-
width: fit-content;
|
|
89
|
-
width: 100%;
|
|
90
|
-
border-radius: 3px;
|
|
91
|
-
position: relative;
|
|
92
|
-
font-family: ff-din-round-web, sans-serif;
|
|
93
|
-
|
|
94
|
-
&::before {
|
|
95
|
-
content: '';
|
|
96
|
-
width: 20px;
|
|
97
|
-
height: 20px;
|
|
98
|
-
display: block;
|
|
99
|
-
border: 1px solid $aux-grey-5;
|
|
100
|
-
background: $aux-white;
|
|
101
|
-
position: absolute;
|
|
102
|
-
left: 15px;
|
|
103
|
-
cursor: pointer;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
& + .aux-card-layout {
|
|
107
|
-
margin-top: 10px;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&--selected {
|
|
111
|
-
background: $aux-mint-1;
|
|
112
|
-
outline: 1px solid $aux-mint-6;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
&--disabled {
|
|
116
|
-
cursor: default;
|
|
117
|
-
|
|
118
|
-
&::before {
|
|
119
|
-
cursor: default;
|
|
120
|
-
background: $aux-grey-3;
|
|
121
|
-
border: 1px solid $aux-grey-3;
|
|
122
|
-
}
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
&:not(.aux-card-layout--disabled):hover {
|
|
126
|
-
color: $aux-dark-purple;
|
|
127
|
-
&::before {
|
|
128
|
-
border-color: $aux-dark-purple;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
&:not(.aux-card-layout--selected):not(.aux-card-layout--disabled):hover::before {
|
|
133
|
-
background-color: $aux-mint-1;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
&:has(:focus-visible) {
|
|
137
|
-
box-shadow: $aux-focus-indicator-style;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
& input {
|
|
141
|
-
@include aux-visually-hidden;
|
|
142
|
-
}
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
@mixin aux-card-layout--box-shadow {
|
|
146
|
-
box-shadow: 0 2px 5px $aux-grey-4;
|
|
147
|
-
}
|