claritas-web-framework 6.4.26 → 7.0.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.
Files changed (76) hide show
  1. package/dist/index.css +1 -1
  2. package/package.json +13 -25
  3. package/sass/modules/_modal.scss +1 -0
  4. package/js/polyfills/customevent.js +0 -16
  5. package/postcss.config.js +0 -42
  6. package/styles/helpers/container.css +0 -21
  7. package/styles/helpers/embed.css +0 -70
  8. package/styles/helpers/grid.css +0 -64
  9. package/styles/helpers/image.css +0 -5
  10. package/styles/helpers/link.css +0 -20
  11. package/styles/helpers/screen-readers.css +0 -22
  12. package/styles/helpers/wrap.css +0 -5
  13. package/styles/helpers.css +0 -7
  14. package/styles/index.css +0 -6
  15. package/styles/mixins/caret.css +0 -32
  16. package/styles/mixins/clearfix.css +0 -7
  17. package/styles/mixins/group.css +0 -78
  18. package/styles/mixins/helpers/container.css +0 -12
  19. package/styles/mixins/helpers/grid.css +0 -20
  20. package/styles/mixins/helpers/link.css +0 -18
  21. package/styles/mixins/helpers/wrap.css +0 -7
  22. package/styles/mixins/modules/button.css +0 -91
  23. package/styles/mixins/modules/card.css +0 -29
  24. package/styles/mixins/modules/close.css +0 -42
  25. package/styles/mixins/modules/list.css +0 -24
  26. package/styles/mixins/modules/pill.css +0 -43
  27. package/styles/mixins/modules/table.css +0 -75
  28. package/styles/mixins.css +0 -13
  29. package/styles/modules/alert.css +0 -85
  30. package/styles/modules/breadcrumbs.css +0 -41
  31. package/styles/modules/button.css +0 -151
  32. package/styles/modules/card.css +0 -80
  33. package/styles/modules/close.css +0 -5
  34. package/styles/modules/details.css +0 -61
  35. package/styles/modules/dialog.css +0 -82
  36. package/styles/modules/dropdown.css +0 -126
  37. package/styles/modules/form/checkbox.css +0 -99
  38. package/styles/modules/form/file.css +0 -119
  39. package/styles/modules/form/form-field-group.css +0 -71
  40. package/styles/modules/form/output.css +0 -5
  41. package/styles/modules/form/progress.css +0 -57
  42. package/styles/modules/form/radio.css +0 -49
  43. package/styles/modules/form/range.css +0 -105
  44. package/styles/modules/form/select.css +0 -25
  45. package/styles/modules/form/text.css +0 -19
  46. package/styles/modules/form.css +0 -176
  47. package/styles/modules/list.css +0 -99
  48. package/styles/modules/loader.css +0 -229
  49. package/styles/modules/nav.css +0 -99
  50. package/styles/modules/pill.css +0 -72
  51. package/styles/modules/table.css +0 -21
  52. package/styles/modules/tabs.css +0 -101
  53. package/styles/modules/tag.css +0 -118
  54. package/styles/modules/tile.css +0 -114
  55. package/styles/modules.css +0 -26
  56. package/styles/reboot.css +0 -403
  57. package/styles/utilities/align.css +0 -5
  58. package/styles/utilities/border.css +0 -63
  59. package/styles/utilities/colors.css +0 -65
  60. package/styles/utilities/display.css +0 -45
  61. package/styles/utilities/flex.css +0 -131
  62. package/styles/utilities/float.css +0 -15
  63. package/styles/utilities/order.css +0 -33
  64. package/styles/utilities/overflow.css +0 -31
  65. package/styles/utilities/pointer-events.css +0 -5
  66. package/styles/utilities/position.css +0 -79
  67. package/styles/utilities/shadow.css +0 -7
  68. package/styles/utilities/size.css +0 -123
  69. package/styles/utilities/spacing.css +0 -866
  70. package/styles/utilities/tooltip.css +0 -127
  71. package/styles/utilities/translate.css +0 -15
  72. package/styles/utilities/typography.css +0 -74
  73. package/styles/utilities/visibility.css +0 -14
  74. package/styles/utilities/zindex.css +0 -7
  75. package/styles/utilities.css +0 -18
  76. package/styles/vars.css +0 -159
@@ -1,127 +0,0 @@
1
- [data-tooltip] {
2
- position: relative;
3
- cursor: help;
4
-
5
- &::after,
6
- &::before {
7
- transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
8
- transform: translate3d(0, 0, 0);
9
- position: absolute;
10
- visibility: hidden;
11
- opacity: 0;
12
- pointer-events: none;
13
- z-index: var(--zindex-tooltip);
14
- color: var(--white);
15
- text-align: center;
16
- font-size: var(--font-size-small);
17
- line-height: normal;
18
- font-weight: 400;
19
- }
20
-
21
- &::before {
22
- content: "";
23
- border-top: 6px solid var(--black-transparent-75);
24
- border-right: 6px solid var(--transparent);
25
- border-bottom: 0 none;
26
- border-left: 6px solid var(--transparent);
27
- top: -6px;
28
- right: auto;
29
- bottom: auto;
30
- left: 50%;
31
- margin: 0 0 0 -6px;
32
- }
33
-
34
- &::after {
35
- background-color: var(--black-transparent-75);
36
- content: attr(data-tooltip);
37
- width: auto;
38
- min-width: calc(var(--spacer) * 6);
39
- padding: 4px 8px;
40
- border-radius: 3px;
41
- top: auto;
42
- right: auto;
43
- bottom: 100%;
44
- left: 50%;
45
- transform: translateY(-6px) translateX(-50%);
46
- }
47
-
48
- &.tooltip--large {
49
- &::after {
50
- min-width: calc(var(--spacer) * 16);
51
- }
52
- }
53
-
54
- &[data-placement="left"] {
55
- &::before {
56
- border-top: 6px solid var(--transparent);
57
- border-right: 0 none;
58
- border-bottom: 6px solid var(--transparent);
59
- border-left: 6px solid var(--black-transparent-75);
60
- top: 50%;
61
- right: auto;
62
- bottom: auto;
63
- left: -6px;
64
- margin: -6px 0 0;
65
- }
66
-
67
- &::after {
68
- top: 50%;
69
- right: 100%;
70
- bottom: auto;
71
- left: auto;
72
- transform: translateY(-50%) translateX(-6px);
73
- }
74
- }
75
-
76
- &[data-placement="right"] {
77
- &::before {
78
- border-top: 6px solid var(--transparent);
79
- border-right: 6px solid var(--black-transparent-75);
80
- border-bottom: 6px solid var(--transparent);
81
- border-left: 0 none;
82
- top: 50%;
83
- right: -6px;
84
- bottom: auto;
85
- left: auto;
86
- margin: -6px 0 0;
87
- }
88
-
89
- &::after {
90
- top: 50%;
91
- right: auto;
92
- bottom: auto;
93
- left: 100%;
94
- transform: translateY(-50%) translateX(6px);
95
- }
96
- }
97
-
98
- &[data-placement="bottom"] {
99
- &::before {
100
- border-top: 0 none;
101
- border-right: 6px solid var(--transparent);
102
- border-bottom: 6px solid var(--black-transparent-75);
103
- border-left: 6px solid var(--transparent);
104
- top: auto;
105
- right: auto;
106
- bottom: -6px;
107
- left: 50%;
108
- margin: 0 0 0 -6px;
109
- }
110
-
111
- &::after {
112
- top: 100%;
113
- right: auto;
114
- bottom: auto;
115
- left: 50%;
116
- transform: translateY(6px) translateX(-50%);
117
- }
118
- }
119
-
120
- &:hover {
121
- &::after,
122
- &::before {
123
- visibility: visible;
124
- opacity: 1;
125
- }
126
- }
127
- }
@@ -1,15 +0,0 @@
1
- .translate--middle {
2
- transform: translate(-50%, -50%) !important;
3
- }
4
-
5
- .translate-x--middle {
6
- transform: translateX(-50%) !important;
7
- }
8
-
9
- .translate-y--middle {
10
- transform: translateY(-50%) !important;
11
- }
12
-
13
- .translate--bottom {
14
- transform: translateY(-100%) !important;
15
- }
@@ -1,74 +0,0 @@
1
- @each $name in (left, right, center, justify) {
2
- .text-align--$(name) {
3
- text-align: $name !important;
4
- }
5
- }
6
-
7
- @each $view in mobile, tablet, desktop, widescreen, fullhd {
8
- @each $name in (left, right, center, justify) {
9
- @media (--viewport-$(view)) {
10
- .text-align--$(view)-$(name) {
11
- text-align: $name !important;
12
- }
13
- }
14
- }
15
- }
16
-
17
- @each $name in (uppercase, lowercase, capitalize, none) {
18
- .text-transform--$(name) {
19
- text-transform: $name !important;
20
- }
21
- }
22
-
23
- @each $name in (lighter, normal, bolder, bold) {
24
- .font-weight--$(name) {
25
- font-weight: $name !important;
26
- }
27
- }
28
-
29
- .font-weight--light {
30
- font-weight: 300;
31
- }
32
-
33
- @each $name in (xsmall, small, 1, 2, 3, 4, 5, 6) {
34
- .font-size--$(name) {
35
- font-size: var(--font-size-#{$name}) !important;
36
- }
37
- }
38
-
39
- .font-size--smaller {
40
- font-size: 0.85em;
41
- }
42
-
43
- .font-size--larger {
44
- font-size: 1.15em;
45
- }
46
-
47
- @each $name in (italic, oblique, normal) {
48
- .font-style--$(name) {
49
- font-style: $name !important;
50
- }
51
- }
52
-
53
- @each $name in (serif, sans-serif, monospace) {
54
- .font-family--$(name) {
55
- font-family: var(--font-family-#{$name}) !important;
56
- }
57
- }
58
-
59
- @each $name in (normal, nowrap) {
60
- .text-wrap--$(name) {
61
- white-space: $name !important;
62
- }
63
- }
64
-
65
- .text-wrap--truncate {
66
- white-space: nowrap !important;
67
- overflow: hidden !important;
68
- text-overflow: ellipsis !important;
69
- }
70
-
71
- code {
72
- color: color-mod(var(--primary) hue(300)) !important;
73
- font-family: var(--font-family-monospace) !important;
74
- }
@@ -1,14 +0,0 @@
1
- @each $name in (visible, hidden) {
2
- .visibility--$(name) {
3
- visibility: $name !important;
4
- }
5
- }
6
- @each $view in mobile, tablet, desktop, widescreen, fullhd {
7
- @each $name in visible, hidden {
8
- @media (--viewport-$(view)) {
9
- .visibility--$(view)-$(name) {
10
- visibility: $name !important;
11
- }
12
- }
13
- }
14
- }
@@ -1,7 +0,0 @@
1
- @each $name
2
- in (dropdown, sticky, fixed, modal-backdrop, modal, popover, tooltip)
3
- {
4
- .zindex--$(name) {
5
- z-index: var(--zindex-#{$name}) !important;
6
- }
7
- }
@@ -1,18 +0,0 @@
1
- @import "./utilities/align.css";
2
- @import "./utilities/border.css";
3
- @import "./utilities/colors.css";
4
- @import "./utilities/display.css";
5
- @import "./utilities/flex.css";
6
- @import "./utilities/float.css";
7
- @import "./utilities/order.css";
8
- @import "./utilities/overflow.css";
9
- @import "./utilities/pointer-events.css";
10
- @import "./utilities/position.css";
11
- @import "./utilities/shadow.css";
12
- @import "./utilities/size.css";
13
- @import "./utilities/spacing.css";
14
- @import "./utilities/tooltip.css";
15
- @import "./utilities/translate.css";
16
- @import "./utilities/typography.css";
17
- @import "./utilities/visibility.css";
18
- @import "./utilities/zindex.css";
package/styles/vars.css DELETED
@@ -1,159 +0,0 @@
1
- @custom-media --viewport-mobile (width >= 20rem);
2
- @custom-media --viewport-tablet (width >= 48rem);
3
- @custom-media --viewport-desktop (width >= 64rem);
4
- @custom-media --viewport-widescreen (width >= 76rem);
5
- @custom-media --viewport-fullhd (width >= 88rem);
6
-
7
- @custom-media --viewport-mobile-max (width < 20rem);
8
- @custom-media --viewport-tablet-max (width < 48rem);
9
- @custom-media --viewport-desktop-max (width < 64rem);
10
- @custom-media --viewport-widescreen-max (width < 76rem);
11
- @custom-media --viewport-fullhd-max (width < 88rem);
12
-
13
- :root {
14
- /* Spacing */
15
- --spacer: 1rem;
16
-
17
- --breakpoint-mobile: calc(var(--spacer) * 20);
18
- --breakpoint-tablet: calc(var(--spacer) * 48);
19
- --breakpoint-desktop: calc(var(--spacer) * 64);
20
- --breakpoint-widescreen: calc(var(--spacer) * 76);
21
- --breakpoint-fullhd: calc(var(--spacer) * 88);
22
-
23
- --grid-gutter: var(--spacer);
24
- --grid-gutter-x: calc(var(--grid-gutter) * 1.5);
25
- --grid-gutter-y: 0;
26
-
27
- /* Colours */
28
- --gray-1: hsl(213, 20%, 98%);
29
- --gray-2: hsl(213, 20%, 87%);
30
- --gray-3: hsl(213, 20%, 76%);
31
- --gray-4: hsl(213, 20%, 65%);
32
- --gray-5: hsl(213, 20%, 54%);
33
- --gray-6: hsl(213, 20%, 43%);
34
- --gray-7: hsl(213, 20%, 32%);
35
- --gray-8: hsl(213, 20%, 21%);
36
- --gray-9: hsl(213, 20%, 10%);
37
-
38
- --white: hsl(0, 0%, 100%);
39
- --black: hsl(0, 0%, 0%);
40
- --light: var(--gray-1);
41
- --medium: var(--gray-4);
42
- --dark: var(--gray-9);
43
-
44
- --black-transparent: var(--black);
45
-
46
- --black-transparent-2: color-mod(var(--black-transparent) a(2%));
47
- --black-transparent-5: color-mod(var(--black-transparent) a(5%));
48
- --black-transparent-7: color-mod(var(--black-transparent) a(7%));
49
- --black-transparent-10: color-mod(var(--black-transparent) a(10%));
50
- --black-transparent-12: color-mod(var(--black-transparent) a(12%));
51
- --black-transparent-17: color-mod(var(--black-transparent) a(17%));
52
- --black-transparent-20: color-mod(var(--black-transparent) a(20%));
53
- --black-transparent-25: color-mod(var(--black-transparent) a(25%));
54
- --black-transparent-30: color-mod(var(--black-transparent) a(30%));
55
- --black-transparent-40: color-mod(var(--black-transparent) a(40%));
56
- --black-transparent-50: color-mod(var(--black-transparent) a(50%));
57
- --black-transparent-75: color-mod(var(--black-transparent) a(75%));
58
-
59
- --primary: hsl(171, 100%, 41%);
60
- --primary-light: color-mod(var(--primary) tint(60%));
61
- --primary-dark: color-mod(var(--primary) shade(40%));
62
-
63
- --secondary: hsl(217, 71%, 53%);
64
- --secondary-light: color-mod(var(--secondary) tint(60%));
65
- --secondary-dark: color-mod(var(--secondary) shade(40%));
66
-
67
- --info: hsl(204, 86%, 53%);
68
- --info-light: color-mod(var(--info) tint(60%));
69
- --info-dark: color-mod(var(--info) shade(40%));
70
-
71
- --success: hsl(141, 71%, 48%);
72
- --success-light: color-mod(var(--success) tint(60%));
73
- --success-dark: color-mod(var(--success) shade(40%));
74
-
75
- --warning: hsl(48, 100%, 67%);
76
- --warning-light: color-mod(var(--warning) tint(60%));
77
- --warning-dark: color-mod(var(--warning) shade(40%));
78
-
79
- --danger: hsl(348, 100%, 61%);
80
- --danger-light: color-mod(var(--danger) tint(60%));
81
- --danger-dark: color-mod(var(--danger) shade(40%));
82
-
83
- --transparent: hsla(0, 0%, 0%, 0);
84
-
85
- --link-color: var(--primary);
86
-
87
- /* Z-Index */
88
- --zindex-static: 0;
89
- --zindex-relative: 1;
90
- --zindex-absolute: 1;
91
- --zindex-sticky: 1020;
92
- --zindex-fixed: 1030;
93
- --zindex-dropdown: 1040;
94
- --zindex-modal-backdrop: 1050;
95
- --zindex-modal: 1060;
96
- --zindex-popover: 1070;
97
- --zindex-tooltip: 1080;
98
-
99
- /* Breakpoints */
100
- --breakpoint-mobile: 20rem;
101
- --breakpoint-tablet: 48rem;
102
- --breakpoint-desktop: 64rem;
103
- --breakpoint-widescreen: 76rem;
104
- --breakpoint-fullhd: 88rem;
105
-
106
- /* Typography */
107
- --font-family-sans-serif: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI",
108
- Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif,
109
- "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
110
- --font-family-serif: Cambria, "Hoefler Text", Utopia, "Liberation Serif",
111
- "Nimbus Roman No9 L Regular", Times, "Times New Roman", serif;
112
- --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas,
113
- "Liberation Mono", "Courier New", monospace;
114
- --font-family-base: var(--font-family-sans-serif);
115
-
116
- --font-size-base: var(--spacer);
117
-
118
- --font-size-6: var(--font-size-base);
119
- --font-size-5: calc(var(--font-size-base) * 1.25);
120
- --font-size-4: calc((var(--font-size-base) * 1.275) + 0.3vw);
121
- --font-size-3: calc((var(--font-size-base) * 1.3) + 0.6vw);
122
- --font-size-2: calc((var(--font-size-base) * 1.325) + 0.9vw);
123
- --font-size-1: calc((var(--font-size-base) * 1.375) + 1.5vw);
124
-
125
- --font-size-xsmall: calc(var(--font-size-base) * 0.675);
126
- --font-size-small: calc(var(--font-size-base) * 0.875);
127
-
128
- --header-weight: 500;
129
-
130
- /* Miscellaneous */
131
- --body-color: var(--dark);
132
- --body-background: var(--white);
133
-
134
- --border-radius: calc(var(--spacer) * 0.275);
135
- --border-radius-small: calc(var(--spacer) * 0.15);
136
- --border-radius-medium: var(--border-radius);
137
- --border-radius-large: calc(var(--spacer) * 0.65);
138
- --border-radius-round: calc(var(--spacer) * 99);
139
- --border-radius-none: 0;
140
-
141
- --box-shadow: 0 calc(var(--spacer) * 0.5) calc(var(--spacer) * 0.75)
142
- color-mod(var(--gray-9) a(15%));
143
-
144
- --box-shadow-small: 0 calc(var(--spacer) * 0.125) calc(var(--spacer) * 0.25)
145
- color-mod(var(--gray-9) a(7.5%));
146
- --box-shadow-medium: var(--box-shadow);
147
- --box-shadow-large: 0 var(--spacer) calc(var(--spacer) * 2.5)
148
- color-mod(var(--gray-9) a(17.5%));
149
-
150
- --box-shadow-inverse: 0 calc(var(--spacer) * -0.5) calc(var(--spacer) * 0.75)
151
- color-mod(var(--gray-9) a(15%));
152
- --box-shadow-inverse-small: 0 calc(var(--spacer) * -0.125)
153
- calc(var(--spacer) * 0.25) color-mod(var(--gray-9) a(7.5%));
154
- --box-shadow-inverse-medium: var(--box-shadow-inverse);
155
- --box-shadow-inverse-large: 0 calc(var(--spacer) * -1)
156
- calc(var(--spacer) * 2.5) color-mod(var(--gray-9) a(17.5%));
157
-
158
- --box-shadow-none: none;
159
- }