otimus-library 0.2.46 → 0.2.48
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/README.md +26 -26
- package/ng-package.json +12 -0
- package/package.json +4 -13
- package/src/assets/images/loading.svg +0 -0
- package/src/assets/images/not-found-bg.jpg +0 -0
- package/src/lib/components/oc-accordion/oc-accordion.component.html +3 -0
- package/src/lib/components/oc-accordion/oc-accordion.component.scss +4 -0
- package/src/lib/components/oc-accordion/oc-accordion.component.ts +44 -0
- package/src/lib/components/oc-accordion-item/oc-accordion-item.component.html +19 -0
- package/src/lib/components/oc-accordion-item/oc-accordion-item.component.scss +86 -0
- package/src/lib/components/oc-accordion-item/oc-accordion-item.component.ts +27 -0
- package/src/lib/components/oc-accordion-item/styles/oc-accordion-item.shui-component.scss +41 -0
- package/src/lib/components/oc-autocomplete/oc-autocomplete.component.html +66 -0
- package/src/lib/components/oc-autocomplete/oc-autocomplete.component.scss +157 -0
- package/src/lib/components/oc-autocomplete/oc-autocomplete.component.ts +277 -0
- package/src/lib/components/oc-badge/oc-badge.component.html +7 -0
- package/src/lib/components/oc-badge/oc-badge.component.scss +125 -0
- package/src/lib/components/oc-badge/oc-badge.component.ts +22 -0
- package/src/lib/components/oc-checkbox/oc-checkbox.component.html +30 -0
- package/src/lib/components/oc-checkbox/oc-checkbox.component.scss +103 -0
- package/src/lib/components/oc-checkbox/oc-checkbox.component.ts +132 -0
- package/src/lib/components/oc-checkbox/styles/oc-checkbox.shui-component.scss +21 -0
- package/src/lib/components/oc-chip/oc-chip.component.html +20 -0
- package/src/lib/components/oc-chip/oc-chip.component.scss +102 -0
- package/src/lib/components/oc-chip/oc-chip.component.ts +32 -0
- package/src/lib/components/oc-filter/oc-filter.component.html +22 -0
- package/src/lib/components/oc-filter/oc-filter.component.scss +78 -0
- package/src/lib/components/oc-filter/oc-filter.component.spec.ts +23 -0
- package/src/lib/components/oc-filter/oc-filter.component.ts +30 -0
- package/src/lib/components/oc-input/oc-input.component.html +21 -0
- package/src/lib/components/oc-input/oc-input.component.scss +3 -0
- package/src/lib/components/oc-input/oc-input.component.ts +100 -0
- package/src/lib/components/oc-key-value/oc-key-value.component.html +12 -0
- package/src/lib/components/oc-key-value/oc-key-value.component.scss +26 -0
- package/src/lib/components/oc-key-value/oc-key-value.component.ts +23 -0
- package/src/lib/components/oc-key-value/styles/oc-key-value.shui-component.scss +26 -0
- package/src/lib/components/oc-log/oc-log.component.html +18 -0
- package/src/lib/components/oc-log/oc-log.component.scss +61 -0
- package/src/lib/components/oc-log/oc-log.component.ts +15 -0
- package/src/lib/components/oc-menu/oc-menu.component.html +31 -0
- package/src/lib/components/oc-menu/oc-menu.component.scss +101 -0
- package/src/lib/components/oc-menu/oc-menu.component.ts +84 -0
- package/src/lib/components/oc-modal/oc-modal.component.html +54 -0
- package/src/lib/components/oc-modal/oc-modal.component.scss +204 -0
- package/src/lib/components/oc-modal/oc-modal.component.ts +82 -0
- package/src/lib/components/oc-modal/styles/oc-modal.shui-component.scss +3 -0
- package/src/lib/components/oc-modal-footer/oc-modal-footer.component.html +11 -0
- package/src/lib/components/oc-modal-footer/oc-modal-footer.component.scss +27 -0
- package/src/lib/components/oc-modal-footer/oc-modal-footer.component.ts +15 -0
- package/src/lib/components/oc-not-found/oc-not-found.component.html +14 -0
- package/src/lib/components/oc-not-found/oc-not-found.component.scss +153 -0
- package/src/lib/components/oc-not-found/oc-not-found.component.spec.ts +23 -0
- package/src/lib/components/oc-not-found/oc-not-found.component.ts +12 -0
- package/src/lib/components/oc-pagination/oc-pagination.component.html +32 -0
- package/src/lib/components/oc-pagination/oc-pagination.component.scss +80 -0
- package/src/lib/components/oc-pagination/oc-pagination.component.ts +46 -0
- package/src/lib/components/oc-profile/oc-profile.component.html +17 -0
- package/src/lib/components/oc-profile/oc-profile.component.scss +80 -0
- package/src/lib/components/oc-profile/oc-profile.component.ts +38 -0
- package/src/lib/components/oc-step/oc-step.component.html +32 -0
- package/src/lib/components/oc-step/oc-step.component.scss +106 -0
- package/src/lib/components/oc-step/oc-step.component.ts +39 -0
- package/src/lib/components/oc-step/styles/oc-step.shui-component.scss +52 -0
- package/src/lib/components/oc-stepper/oc-stepper.component.html +3 -0
- package/src/lib/components/oc-stepper/oc-stepper.component.scss +9 -0
- package/src/lib/components/oc-stepper/oc-stepper.component.ts +86 -0
- package/src/lib/components/oc-tab/oc-tab.component.html +3 -0
- package/src/lib/components/oc-tab/oc-tab.component.scss +0 -0
- package/src/lib/components/oc-tab/oc-tab.component.ts +15 -0
- package/src/lib/components/oc-table/oc-table.component.html +62 -0
- package/src/lib/components/oc-table/oc-table.component.scss +2 -0
- package/src/lib/components/oc-table/oc-table.component.ts +51 -0
- package/src/lib/components/oc-tabs/oc-tabs.component.html +13 -0
- package/src/lib/components/oc-tabs/oc-tabs.component.scss +47 -0
- package/src/lib/components/oc-tabs/oc-tabs.component.ts +46 -0
- package/src/lib/components/oc-tabs/styles/oc-tabs.shui-component.scss +25 -0
- package/src/lib/components/oc-toast/oc-toast.component.html +46 -0
- package/src/lib/components/oc-toast/oc-toast.component.scss +133 -0
- package/src/lib/components/oc-toast/oc-toast.component.ts +15 -0
- package/src/lib/components/oc-toggle/oc-toggle.component.html +4 -0
- package/src/lib/components/oc-toggle/oc-toggle.component.scss +73 -0
- package/src/lib/components/oc-toggle/oc-toggle.component.spec.ts +23 -0
- package/src/lib/components/oc-toggle/oc-toggle.component.ts +32 -0
- package/src/lib/directives/oc-tooltip/oc-tooltip.directive.ts +108 -0
- package/src/lib/interfaces/internal/languages.ts +16 -0
- package/src/lib/interfaces/oc-autocomplete.ts +6 -0
- package/src/lib/interfaces/oc-menu.ts +10 -0
- package/src/lib/interfaces/oc-style-theme.ts +3 -0
- package/src/lib/interfaces/oc-table.ts +12 -0
- package/src/lib/interfaces/oc-toast.ts +8 -0
- package/src/lib/otimus-library.component.ts +16 -0
- package/src/lib/otimus-library.service.ts +9 -0
- package/src/lib/services/internationalization.service.ts +73 -0
- package/src/lib/services/oc-toast.service.ts +107 -0
- package/src/lib/services/style-theme.service.ts +19 -0
- package/src/public-api.ts +30 -0
- package/{styles → src/styles}/colors.scss +70 -70
- package/{styles → src/styles}/components/buttons/buttons.scss +225 -225
- package/{styles → src/styles}/components/buttons/buttons.shui.scss +61 -61
- package/{styles → src/styles}/components/index.scss +2 -2
- package/{styles → src/styles}/components/inputs/inputs.scss +248 -248
- package/{styles → src/styles}/components/inputs/inputs.shui.scss +212 -212
- package/{styles → src/styles}/components/table/table.scss +69 -69
- package/{styles → src/styles}/components/table/table.shui.scss +50 -50
- package/{styles → src/styles}/components/tooltip.scss +26 -26
- package/{styles → src/styles}/grid.scss +1122 -1122
- package/{styles → src/styles}/patterns/shui/colors.shui.scss +154 -154
- package/{styles → src/styles}/patterns/shui/fonts.shui.scss +65 -65
- package/{styles → src/styles}/patterns/shui/index.shui.scss +24 -24
- package/{styles → src/styles}/patterns/shui/variables.shui.scss +22 -22
- package/{styles → src/styles}/states.scss +5 -5
- package/{styles → src/styles}/styles.scss +46 -46
- package/{styles → src/styles}/variables.scss +47 -47
- package/tsconfig.lib.json +14 -0
- package/tsconfig.lib.prod.json +10 -0
- package/tsconfig.spec.json +14 -0
- package/esm2022/lib/components/oc-accordion/oc-accordion.component.mjs +0 -48
- package/esm2022/lib/components/oc-accordion-item/oc-accordion-item.component.mjs +0 -35
- package/esm2022/lib/components/oc-autocomplete/oc-autocomplete.component.mjs +0 -275
- package/esm2022/lib/components/oc-badge/oc-badge.component.mjs +0 -30
- package/esm2022/lib/components/oc-checkbox/oc-checkbox.component.mjs +0 -133
- package/esm2022/lib/components/oc-chip/oc-chip.component.mjs +0 -45
- package/esm2022/lib/components/oc-filter/oc-filter.component.mjs +0 -39
- package/esm2022/lib/components/oc-input/oc-input.component.mjs +0 -97
- package/esm2022/lib/components/oc-key-value/oc-key-value.component.mjs +0 -29
- package/esm2022/lib/components/oc-log/oc-log.component.mjs +0 -22
- package/esm2022/lib/components/oc-menu/oc-menu.component.mjs +0 -81
- package/esm2022/lib/components/oc-modal/oc-modal.component.mjs +0 -85
- package/esm2022/lib/components/oc-modal-footer/oc-modal-footer.component.mjs +0 -23
- package/esm2022/lib/components/oc-not-found/oc-not-found.component.mjs +0 -11
- package/esm2022/lib/components/oc-pagination/oc-pagination.component.mjs +0 -49
- package/esm2022/lib/components/oc-profile/oc-profile.component.mjs +0 -38
- package/esm2022/lib/components/oc-step/oc-step.component.mjs +0 -49
- package/esm2022/lib/components/oc-stepper/oc-stepper.component.mjs +0 -90
- package/esm2022/lib/components/oc-tab/oc-tab.component.mjs +0 -20
- package/esm2022/lib/components/oc-tabs/oc-tabs.component.mjs +0 -42
- package/esm2022/lib/components/oc-toast/oc-toast.component.mjs +0 -17
- package/esm2022/lib/components/oc-toggle/oc-toggle.component.mjs +0 -34
- package/esm2022/lib/directives/oc-tooltip/oc-tooltip.directive.mjs +0 -117
- package/esm2022/lib/interfaces/oc-autocomplete.mjs +0 -2
- package/esm2022/lib/interfaces/oc-menu.mjs +0 -2
- package/esm2022/lib/interfaces/oc-style-theme.mjs +0 -2
- package/esm2022/lib/interfaces/oc-toast.mjs +0 -2
- package/esm2022/lib/otimus-library.component.mjs +0 -19
- package/esm2022/lib/otimus-library.service.mjs +0 -14
- package/esm2022/lib/services/internationalization.service.mjs +0 -68
- package/esm2022/lib/services/oc-toast.service.mjs +0 -81
- package/esm2022/lib/services/style-theme.service.mjs +0 -21
- package/esm2022/otimus-library.mjs +0 -5
- package/esm2022/public-api.mjs +0 -30
- package/fesm2022/otimus-library.mjs +0 -1513
- package/fesm2022/otimus-library.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/components/oc-accordion/oc-accordion.component.d.ts +0 -18
- package/lib/components/oc-accordion-item/oc-accordion-item.component.d.ts +0 -12
- package/lib/components/oc-autocomplete/oc-autocomplete.component.d.ts +0 -68
- package/lib/components/oc-badge/oc-badge.component.d.ts +0 -11
- package/lib/components/oc-checkbox/oc-checkbox.component.d.ts +0 -35
- package/lib/components/oc-chip/oc-chip.component.d.ts +0 -14
- package/lib/components/oc-filter/oc-filter.component.d.ts +0 -17
- package/lib/components/oc-input/oc-input.component.d.ts +0 -31
- package/lib/components/oc-key-value/oc-key-value.component.d.ts +0 -14
- package/lib/components/oc-log/oc-log.component.d.ts +0 -7
- package/lib/components/oc-menu/oc-menu.component.d.ts +0 -20
- package/lib/components/oc-modal/oc-modal.component.d.ts +0 -30
- package/lib/components/oc-modal-footer/oc-modal-footer.component.d.ts +0 -8
- package/lib/components/oc-not-found/oc-not-found.component.d.ts +0 -5
- package/lib/components/oc-pagination/oc-pagination.component.d.ts +0 -14
- package/lib/components/oc-profile/oc-profile.component.d.ts +0 -12
- package/lib/components/oc-step/oc-step.component.d.ts +0 -22
- package/lib/components/oc-stepper/oc-stepper.component.d.ts +0 -24
- package/lib/components/oc-tab/oc-tab.component.d.ts +0 -8
- package/lib/components/oc-tabs/oc-tabs.component.d.ts +0 -18
- package/lib/components/oc-toast/oc-toast.component.d.ts +0 -8
- package/lib/components/oc-toggle/oc-toggle.component.d.ts +0 -12
- package/lib/directives/oc-tooltip/oc-tooltip.directive.d.ts +0 -20
- package/lib/interfaces/oc-autocomplete.d.ts +0 -5
- package/lib/interfaces/oc-menu.d.ts +0 -9
- package/lib/interfaces/oc-style-theme.d.ts +0 -2
- package/lib/interfaces/oc-toast.d.ts +0 -8
- package/lib/otimus-library.component.d.ts +0 -5
- package/lib/otimus-library.service.d.ts +0 -6
- package/lib/services/internationalization.service.d.ts +0 -17
- package/lib/services/oc-toast.service.d.ts +0 -14
- package/lib/services/style-theme.service.d.ts +0 -8
- package/public-api.d.ts +0 -26
- /package/{assets → src/assets}/fonts/siemens/SH-Bree-Headline-Oblique.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SH-Bree-Headline-Oblique.woff2 +0 -0
- /package/{assets → src/assets}/fonts/siemens/SH-Bree-Headline-Regular.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SH-Bree-Headline-Regular.woff2 +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Black.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Black.woff2 +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-BlackItalic.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-BlackItalic.woff2 +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Bold.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Bold.woff2 +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-BoldItalic.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-BoldItalic.woff2 +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Italic.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Italic.woff2 +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Roman.woff +0 -0
- /package/{assets → src/assets}/fonts/siemens/SiemensSans-Roman.woff2 +0 -0
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
@use './variables.scss';
|
|
2
|
-
|
|
3
|
-
.oc.color {
|
|
4
|
-
// Purple Colors
|
|
5
|
-
&.p-1 {
|
|
6
|
-
color: variables.$color-brand-p-1;
|
|
7
|
-
}
|
|
8
|
-
&.p-2 {
|
|
9
|
-
color: variables.$color-brand-dp-1;
|
|
10
|
-
}
|
|
11
|
-
&.p-3 {
|
|
12
|
-
color: variables.$color-brand-p-3;
|
|
13
|
-
}
|
|
14
|
-
&.p-4 {
|
|
15
|
-
color: variables.$color-brand-p-4;
|
|
16
|
-
}
|
|
17
|
-
&.p-5 {
|
|
18
|
-
color: variables.$color-brand-p-5;
|
|
19
|
-
}
|
|
20
|
-
&.p-6 {
|
|
21
|
-
color: variables.$color-brand-p-6;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
// Dark Purple Colors
|
|
25
|
-
&.dp-1 {
|
|
26
|
-
color: variables.$color-brand-dp-1;
|
|
27
|
-
}
|
|
28
|
-
&.dp-2 {
|
|
29
|
-
color: variables.$color-brand-dp-2;
|
|
30
|
-
}
|
|
31
|
-
&.dp-3 {
|
|
32
|
-
color: variables.$color-brand-dp-3;
|
|
33
|
-
}
|
|
34
|
-
&.dp-4 {
|
|
35
|
-
color: variables.$color-brand-dp-4;
|
|
36
|
-
}
|
|
37
|
-
&.dp-5 {
|
|
38
|
-
color: variables.$color-brand-dp-5;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
// Green Colors
|
|
42
|
-
&.g-1 {
|
|
43
|
-
color: variables.$color-brand-g-1;
|
|
44
|
-
}
|
|
45
|
-
&.g-2 {
|
|
46
|
-
color: variables.$color-brand-g-2;
|
|
47
|
-
}
|
|
48
|
-
&.g-3 {
|
|
49
|
-
color: variables.$color-brand-g-3;
|
|
50
|
-
}
|
|
51
|
-
&.g-4 {
|
|
52
|
-
color: variables.$color-brand-g-4;
|
|
53
|
-
}
|
|
54
|
-
&.g-5 {
|
|
55
|
-
color: variables.$color-brand-g-5;
|
|
56
|
-
}
|
|
57
|
-
&.g-6 {
|
|
58
|
-
color: variables.$color-brand-g-6;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
// Status Colors
|
|
62
|
-
&.error {
|
|
63
|
-
color: variables.$color-error;
|
|
64
|
-
}
|
|
65
|
-
&.success {
|
|
66
|
-
color: variables.$color-success;
|
|
67
|
-
}
|
|
68
|
-
&.error {
|
|
69
|
-
color: variables.$color-error;
|
|
70
|
-
}
|
|
1
|
+
@use './variables.scss';
|
|
2
|
+
|
|
3
|
+
.oc.color {
|
|
4
|
+
// Purple Colors
|
|
5
|
+
&.p-1 {
|
|
6
|
+
color: variables.$color-brand-p-1;
|
|
7
|
+
}
|
|
8
|
+
&.p-2 {
|
|
9
|
+
color: variables.$color-brand-dp-1;
|
|
10
|
+
}
|
|
11
|
+
&.p-3 {
|
|
12
|
+
color: variables.$color-brand-p-3;
|
|
13
|
+
}
|
|
14
|
+
&.p-4 {
|
|
15
|
+
color: variables.$color-brand-p-4;
|
|
16
|
+
}
|
|
17
|
+
&.p-5 {
|
|
18
|
+
color: variables.$color-brand-p-5;
|
|
19
|
+
}
|
|
20
|
+
&.p-6 {
|
|
21
|
+
color: variables.$color-brand-p-6;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
// Dark Purple Colors
|
|
25
|
+
&.dp-1 {
|
|
26
|
+
color: variables.$color-brand-dp-1;
|
|
27
|
+
}
|
|
28
|
+
&.dp-2 {
|
|
29
|
+
color: variables.$color-brand-dp-2;
|
|
30
|
+
}
|
|
31
|
+
&.dp-3 {
|
|
32
|
+
color: variables.$color-brand-dp-3;
|
|
33
|
+
}
|
|
34
|
+
&.dp-4 {
|
|
35
|
+
color: variables.$color-brand-dp-4;
|
|
36
|
+
}
|
|
37
|
+
&.dp-5 {
|
|
38
|
+
color: variables.$color-brand-dp-5;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
// Green Colors
|
|
42
|
+
&.g-1 {
|
|
43
|
+
color: variables.$color-brand-g-1;
|
|
44
|
+
}
|
|
45
|
+
&.g-2 {
|
|
46
|
+
color: variables.$color-brand-g-2;
|
|
47
|
+
}
|
|
48
|
+
&.g-3 {
|
|
49
|
+
color: variables.$color-brand-g-3;
|
|
50
|
+
}
|
|
51
|
+
&.g-4 {
|
|
52
|
+
color: variables.$color-brand-g-4;
|
|
53
|
+
}
|
|
54
|
+
&.g-5 {
|
|
55
|
+
color: variables.$color-brand-g-5;
|
|
56
|
+
}
|
|
57
|
+
&.g-6 {
|
|
58
|
+
color: variables.$color-brand-g-6;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
// Status Colors
|
|
62
|
+
&.error {
|
|
63
|
+
color: variables.$color-error;
|
|
64
|
+
}
|
|
65
|
+
&.success {
|
|
66
|
+
color: variables.$color-success;
|
|
67
|
+
}
|
|
68
|
+
&.error {
|
|
69
|
+
color: variables.$color-error;
|
|
70
|
+
}
|
|
71
71
|
}
|
|
@@ -1,226 +1,226 @@
|
|
|
1
|
-
@use '../../variables.scss';
|
|
2
|
-
|
|
3
|
-
.oc.button {
|
|
4
|
-
height: 3rem;
|
|
5
|
-
|
|
6
|
-
padding: 0 2rem;
|
|
7
|
-
|
|
8
|
-
background-color: variables.$color-gray-4;
|
|
9
|
-
color: variables.$color-gray-1;
|
|
10
|
-
|
|
11
|
-
border-radius: 0.5rem;
|
|
12
|
-
border: none;
|
|
13
|
-
|
|
14
|
-
font-weight: 500;
|
|
15
|
-
font-size: 1rem;
|
|
16
|
-
transition: 0.15s ease;
|
|
17
|
-
|
|
18
|
-
display: flex;
|
|
19
|
-
justify-content: center;
|
|
20
|
-
align-items: center;
|
|
21
|
-
gap: 0.5rem;
|
|
22
|
-
|
|
23
|
-
cursor: pointer;
|
|
24
|
-
|
|
25
|
-
span{
|
|
26
|
-
pointer-events: none;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&.disabled{
|
|
30
|
-
opacity: .4;
|
|
31
|
-
pointer-events: none;
|
|
32
|
-
cursor: not-allowed;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
&.align-left{
|
|
36
|
-
padding-left: 1rem;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
&.align-right{
|
|
40
|
-
padding-right: 1rem;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
&:active{
|
|
44
|
-
transform: scale(0.99);
|
|
45
|
-
filter: brightness(0.97);
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
&.white {
|
|
49
|
-
background-color: variables.$color-white;
|
|
50
|
-
color: variables.$color-gray-3;
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
&.no-bg{
|
|
54
|
-
color: variables.$color-gray-3;
|
|
55
|
-
background-color: transparent;
|
|
56
|
-
|
|
57
|
-
&:hover{
|
|
58
|
-
background-color: variables.$color-gray-6;
|
|
59
|
-
}
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
&.error{
|
|
63
|
-
background-color: variables.$color-error;
|
|
64
|
-
color: variables.$color-gray-6;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
//Purple Tones
|
|
68
|
-
&.p-1{
|
|
69
|
-
background-color: variables.$color-brand-p-1;
|
|
70
|
-
color: variables.$color-gray-6;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
&.p-2{
|
|
74
|
-
background-color: variables.$color-brand-dp-1;
|
|
75
|
-
color: variables.$color-gray-6;
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
&.p-3{
|
|
79
|
-
background-color: variables.$color-brand-p-4;
|
|
80
|
-
color: variables.$color-gray-6;
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
&.p-4{
|
|
84
|
-
background-color: variables.$color-brand-p-6;
|
|
85
|
-
color: variables.$color-gray-6;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
//Green Tones
|
|
89
|
-
&.g-1{
|
|
90
|
-
background-color: variables.$color-brand-g-1;
|
|
91
|
-
color: variables.$color-brand-dp-1;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
&.g-2{
|
|
95
|
-
background-color: variables.$color-brand-g-2;
|
|
96
|
-
color: variables.$color-brand-dp-1;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&.g-3{
|
|
100
|
-
background-color: variables.$color-brand-g-3;
|
|
101
|
-
color: variables.$color-brand-dp-1;
|
|
102
|
-
}
|
|
103
|
-
|
|
104
|
-
&.g-4{
|
|
105
|
-
background-color: variables.$color-brand-g-6;
|
|
106
|
-
color: variables.$color-brand-dp-1;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
&.gray-1 {
|
|
110
|
-
background-color: variables.$color-gray-6;
|
|
111
|
-
color: variables.$color-gray-3
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&.gray-2{
|
|
115
|
-
background-color: variables.$color-gray-4;
|
|
116
|
-
color: variables.$color-gray-1
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.gray-3{
|
|
120
|
-
background-color: variables.$color-gray-3;
|
|
121
|
-
color: variables.$color-gray-6;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
&.gray-4{
|
|
125
|
-
background-color: variables.$color-gray-2;
|
|
126
|
-
color: variables.$color-gray-6;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
&.gray-5{
|
|
130
|
-
background-color: variables.$color-gray-1;
|
|
131
|
-
color: variables.$color-gray-6;
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
// SIZES
|
|
135
|
-
&.tiny {
|
|
136
|
-
height: 2rem !important;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
&.small{
|
|
140
|
-
height: 2.5rem !important;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
&.large{
|
|
144
|
-
height: 3.5rem !important;
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
//ICON
|
|
148
|
-
&.icon{
|
|
149
|
-
height: 3rem;
|
|
150
|
-
width: 3rem;
|
|
151
|
-
padding: 0;
|
|
152
|
-
|
|
153
|
-
gap: 0 ;
|
|
154
|
-
|
|
155
|
-
&.tiny{
|
|
156
|
-
width: 2rem !important;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
&.small{
|
|
160
|
-
width: 2.5rem !important;
|
|
161
|
-
padding: 0;
|
|
162
|
-
}
|
|
163
|
-
|
|
164
|
-
&.large{
|
|
165
|
-
width: 3.5rem !important;
|
|
166
|
-
padding: 0;
|
|
167
|
-
|
|
168
|
-
// font-size: 2rem !important;
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
&.outlined{
|
|
173
|
-
background-color: transparent;
|
|
174
|
-
border: 2px solid;
|
|
175
|
-
|
|
176
|
-
//Purple Tones
|
|
177
|
-
&.p-1{
|
|
178
|
-
color: variables.$color-brand-p-1;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
&.p-2{
|
|
182
|
-
color: variables.$color-brand-dp-1;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
&.p-3{
|
|
186
|
-
color: variables.$color-brand-p-4;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
&.p-4{
|
|
190
|
-
color: variables.$color-brand-p-6;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
//Green Tones
|
|
194
|
-
&.g-1{
|
|
195
|
-
color: variables.$color-brand-g-1;
|
|
196
|
-
}
|
|
197
|
-
|
|
198
|
-
&.g-2{
|
|
199
|
-
color: variables.$color-brand-g-2;
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
&.g-3{
|
|
203
|
-
color: variables.$color-brand-g-3;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
&.g-4{
|
|
207
|
-
color: variables.$color-brand-g-6;
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
//Gray
|
|
211
|
-
|
|
212
|
-
&.gray-1{
|
|
213
|
-
color: variables.$color-gray-3;
|
|
214
|
-
}
|
|
215
|
-
|
|
216
|
-
&.gray-2{
|
|
217
|
-
color: variables.$color-gray-2;
|
|
218
|
-
}
|
|
219
|
-
|
|
220
|
-
&.gray-3{
|
|
221
|
-
color: variables.$color-gray-1;
|
|
222
|
-
}
|
|
223
|
-
}
|
|
224
|
-
}
|
|
225
|
-
|
|
1
|
+
@use '../../variables.scss';
|
|
2
|
+
|
|
3
|
+
.oc.button {
|
|
4
|
+
height: 3rem;
|
|
5
|
+
|
|
6
|
+
padding: 0 2rem;
|
|
7
|
+
|
|
8
|
+
background-color: variables.$color-gray-4;
|
|
9
|
+
color: variables.$color-gray-1;
|
|
10
|
+
|
|
11
|
+
border-radius: 0.5rem;
|
|
12
|
+
border: none;
|
|
13
|
+
|
|
14
|
+
font-weight: 500;
|
|
15
|
+
font-size: 1rem;
|
|
16
|
+
transition: 0.15s ease;
|
|
17
|
+
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
align-items: center;
|
|
21
|
+
gap: 0.5rem;
|
|
22
|
+
|
|
23
|
+
cursor: pointer;
|
|
24
|
+
|
|
25
|
+
span{
|
|
26
|
+
pointer-events: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&.disabled{
|
|
30
|
+
opacity: .4;
|
|
31
|
+
pointer-events: none;
|
|
32
|
+
cursor: not-allowed;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
&.align-left{
|
|
36
|
+
padding-left: 1rem;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
&.align-right{
|
|
40
|
+
padding-right: 1rem;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
&:active{
|
|
44
|
+
transform: scale(0.99);
|
|
45
|
+
filter: brightness(0.97);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&.white {
|
|
49
|
+
background-color: variables.$color-white;
|
|
50
|
+
color: variables.$color-gray-3;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
&.no-bg{
|
|
54
|
+
color: variables.$color-gray-3;
|
|
55
|
+
background-color: transparent;
|
|
56
|
+
|
|
57
|
+
&:hover{
|
|
58
|
+
background-color: variables.$color-gray-6;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
&.error{
|
|
63
|
+
background-color: variables.$color-error;
|
|
64
|
+
color: variables.$color-gray-6;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
//Purple Tones
|
|
68
|
+
&.p-1{
|
|
69
|
+
background-color: variables.$color-brand-p-1;
|
|
70
|
+
color: variables.$color-gray-6;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
&.p-2{
|
|
74
|
+
background-color: variables.$color-brand-dp-1;
|
|
75
|
+
color: variables.$color-gray-6;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
&.p-3{
|
|
79
|
+
background-color: variables.$color-brand-p-4;
|
|
80
|
+
color: variables.$color-gray-6;
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
&.p-4{
|
|
84
|
+
background-color: variables.$color-brand-p-6;
|
|
85
|
+
color: variables.$color-gray-6;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
//Green Tones
|
|
89
|
+
&.g-1{
|
|
90
|
+
background-color: variables.$color-brand-g-1;
|
|
91
|
+
color: variables.$color-brand-dp-1;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
&.g-2{
|
|
95
|
+
background-color: variables.$color-brand-g-2;
|
|
96
|
+
color: variables.$color-brand-dp-1;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
&.g-3{
|
|
100
|
+
background-color: variables.$color-brand-g-3;
|
|
101
|
+
color: variables.$color-brand-dp-1;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
&.g-4{
|
|
105
|
+
background-color: variables.$color-brand-g-6;
|
|
106
|
+
color: variables.$color-brand-dp-1;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
&.gray-1 {
|
|
110
|
+
background-color: variables.$color-gray-6;
|
|
111
|
+
color: variables.$color-gray-3
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
&.gray-2{
|
|
115
|
+
background-color: variables.$color-gray-4;
|
|
116
|
+
color: variables.$color-gray-1
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
&.gray-3{
|
|
120
|
+
background-color: variables.$color-gray-3;
|
|
121
|
+
color: variables.$color-gray-6;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
&.gray-4{
|
|
125
|
+
background-color: variables.$color-gray-2;
|
|
126
|
+
color: variables.$color-gray-6;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
&.gray-5{
|
|
130
|
+
background-color: variables.$color-gray-1;
|
|
131
|
+
color: variables.$color-gray-6;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
// SIZES
|
|
135
|
+
&.tiny {
|
|
136
|
+
height: 2rem !important;
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
&.small{
|
|
140
|
+
height: 2.5rem !important;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
&.large{
|
|
144
|
+
height: 3.5rem !important;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
//ICON
|
|
148
|
+
&.icon{
|
|
149
|
+
height: 3rem;
|
|
150
|
+
width: 3rem;
|
|
151
|
+
padding: 0;
|
|
152
|
+
|
|
153
|
+
gap: 0 ;
|
|
154
|
+
|
|
155
|
+
&.tiny{
|
|
156
|
+
width: 2rem !important;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
&.small{
|
|
160
|
+
width: 2.5rem !important;
|
|
161
|
+
padding: 0;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
&.large{
|
|
165
|
+
width: 3.5rem !important;
|
|
166
|
+
padding: 0;
|
|
167
|
+
|
|
168
|
+
// font-size: 2rem !important;
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
|
|
172
|
+
&.outlined{
|
|
173
|
+
background-color: transparent;
|
|
174
|
+
border: 2px solid;
|
|
175
|
+
|
|
176
|
+
//Purple Tones
|
|
177
|
+
&.p-1{
|
|
178
|
+
color: variables.$color-brand-p-1;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
&.p-2{
|
|
182
|
+
color: variables.$color-brand-dp-1;
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
&.p-3{
|
|
186
|
+
color: variables.$color-brand-p-4;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&.p-4{
|
|
190
|
+
color: variables.$color-brand-p-6;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
//Green Tones
|
|
194
|
+
&.g-1{
|
|
195
|
+
color: variables.$color-brand-g-1;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
&.g-2{
|
|
199
|
+
color: variables.$color-brand-g-2;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
&.g-3{
|
|
203
|
+
color: variables.$color-brand-g-3;
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
&.g-4{
|
|
207
|
+
color: variables.$color-brand-g-6;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
//Gray
|
|
211
|
+
|
|
212
|
+
&.gray-1{
|
|
213
|
+
color: variables.$color-gray-3;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
&.gray-2{
|
|
217
|
+
color: variables.$color-gray-2;
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
&.gray-3{
|
|
221
|
+
color: variables.$color-gray-1;
|
|
222
|
+
}
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
|
|
226
226
|
@import './buttons.shui.scss';
|