@papillonbits/css 1.3.0 → 1.5.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 (126) hide show
  1. package/LICENSE +1 -1
  2. package/build/primer/autocomplete/README.md +20 -0
  3. package/build/primer/autocomplete/index.scss +3 -0
  4. package/build/primer/autocomplete/suggester.scss +101 -0
  5. package/build/primer/avatars/README.md +20 -0
  6. package/build/primer/avatars/avatar-parent-child.scss +17 -0
  7. package/build/primer/avatars/circle-badge.scss +55 -0
  8. package/build/primer/avatars/index.scss +5 -0
  9. package/build/primer/base/README.md +20 -0
  10. package/build/primer/base/base.scss +2 -5
  11. package/build/primer/base/kbd.scss +2 -6
  12. package/build/primer/base/typography-base.scss +0 -3
  13. package/build/primer/box/README.md +20 -0
  14. package/build/primer/box/box-overlay.scss +45 -0
  15. package/build/primer/box/index.scss +2 -0
  16. package/build/primer/branch-name/README.md +20 -0
  17. package/build/primer/branch-name/branch-name.scss +33 -0
  18. package/build/primer/branch-name/index.scss +3 -0
  19. package/build/primer/buttons/README.md +20 -0
  20. package/build/primer/buttons/button-group.scss +104 -0
  21. package/build/primer/buttons/button.scss +347 -0
  22. package/build/primer/buttons/index.scss +4 -0
  23. package/build/primer/buttons/misc.scss +244 -0
  24. package/build/primer/color-modes/themes/dark.scss +1 -1
  25. package/build/primer/color-modes/themes/dark_colorblind.scss +1 -1
  26. package/build/primer/color-modes/themes/dark_dimmed.scss +1 -1
  27. package/build/primer/color-modes/themes/dark_high_contrast.scss +1 -1
  28. package/build/primer/color-modes/themes/dark_tritanopia.scss +1 -1
  29. package/build/primer/color-modes/themes/light.scss +1 -1
  30. package/build/primer/color-modes/themes/light_colorblind.scss +1 -1
  31. package/build/primer/color-modes/themes/light_high_contrast.scss +1 -1
  32. package/build/primer/color-modes/themes/light_tritanopia.scss +1 -1
  33. package/build/primer/core/README.md +20 -0
  34. package/build/primer/core/index.scss +18 -0
  35. package/build/primer/docs.scss +7 -0
  36. package/build/primer/forms/README.md +20 -0
  37. package/build/primer/forms/form-control.scss +286 -0
  38. package/build/primer/forms/form-group.scss +297 -0
  39. package/build/primer/forms/form-select.scss +47 -0
  40. package/build/primer/forms/index.scss +6 -0
  41. package/build/primer/forms/input-group.scss +81 -0
  42. package/build/primer/forms/radio-group.scss +68 -0
  43. package/build/primer/header/README.md +20 -0
  44. package/build/primer/header/header.scss +51 -0
  45. package/build/primer/header/index.scss +2 -0
  46. package/build/primer/index.scss +8 -3
  47. package/build/primer/labels/README.md +20 -0
  48. package/build/primer/labels/index.scss +3 -0
  49. package/build/primer/labels/issue-labels.scss +26 -0
  50. package/build/primer/labels/mixins.scss +44 -0
  51. package/build/primer/layout/README.md +20 -0
  52. package/build/primer/layout/app-frame.scss +156 -0
  53. package/build/primer/layout/container.scss +30 -0
  54. package/build/primer/layout/grid-offset.scss +19 -0
  55. package/build/primer/layout/grid.scss +77 -0
  56. package/build/primer/layout/index.scss +7 -0
  57. package/build/primer/layout/page-layout.scss +417 -0
  58. package/build/primer/layout/stack.scss +220 -0
  59. package/build/primer/loaders/README.md +20 -0
  60. package/build/primer/loaders/index.scss +2 -0
  61. package/build/primer/loaders/loaders.scss +19 -0
  62. package/build/primer/markdown/README.md +20 -0
  63. package/build/primer/markdown/blob-csv.scss +32 -0
  64. package/build/primer/markdown/code.scss +79 -0
  65. package/build/primer/markdown/footnotes.scss +59 -0
  66. package/build/primer/markdown/headings.scss +101 -0
  67. package/build/primer/markdown/images.scss +130 -0
  68. package/build/primer/markdown/index.scss +9 -0
  69. package/build/primer/markdown/lists.scss +101 -0
  70. package/build/primer/markdown/markdown-body.scss +101 -0
  71. package/build/primer/markdown/tables.scss +46 -0
  72. package/build/primer/marketing/README.md +20 -0
  73. package/build/primer/marketing/buttons/button.scss +171 -0
  74. package/build/primer/marketing/buttons/index.scss +3 -0
  75. package/build/primer/marketing/index.scss +8 -0
  76. package/build/primer/marketing/links/index.scss +3 -0
  77. package/build/primer/marketing/links/link.scss +51 -0
  78. package/build/primer/marketing/support/index.scss +2 -0
  79. package/build/primer/marketing/support/variables.scss +140 -0
  80. package/build/primer/marketing/type/index.scss +3 -0
  81. package/build/primer/marketing/type/typography.scss +140 -0
  82. package/build/primer/marketing/utilities/animations.scss +52 -0
  83. package/build/primer/marketing/utilities/borders.scss +4 -0
  84. package/build/primer/marketing/utilities/filters.scss +3 -0
  85. package/build/primer/marketing/utilities/index.scss +6 -0
  86. package/build/primer/marketing/utilities/layout.scss +58 -0
  87. package/build/primer/navigation/README.md +20 -0
  88. package/build/primer/navigation/filter-list.scss +86 -0
  89. package/build/primer/navigation/index.scss +5 -0
  90. package/build/primer/navigation/sidenav.scss +102 -0
  91. package/build/primer/navigation/subnav.scss +154 -0
  92. package/build/primer/pagination/README.md +20 -0
  93. package/build/primer/pagination/index.scss +3 -0
  94. package/build/primer/pagination/pagination.scss +157 -0
  95. package/build/primer/primitives/index.scss +8 -19
  96. package/build/primer/primitives/temp-typography-tokens.scss +22 -0
  97. package/build/primer/product/README.md +20 -0
  98. package/build/primer/product/index.scss +13 -0
  99. package/build/primer/select-menu/README.md +20 -0
  100. package/build/primer/select-menu/index.scss +3 -0
  101. package/build/primer/select-menu/select-menu.scss +486 -0
  102. package/build/primer/support/README.md +20 -0
  103. package/build/primer/support/mixins/layout.scss +1 -1
  104. package/build/primer/support/mixins/misc.scss +2 -0
  105. package/build/primer/support/mixins/typography.scss +0 -2
  106. package/build/primer/support/variables/typography.scss +1 -1
  107. package/build/primer/table-object/index.scss +1 -0
  108. package/build/primer/table-object/table-object.scss +23 -0
  109. package/build/primer/toasts/README.md +20 -0
  110. package/build/primer/toasts/index.scss +2 -0
  111. package/build/primer/toasts/toasts.scss +129 -0
  112. package/build/primer/tooltips/README.md +20 -0
  113. package/build/primer/tooltips/index.scss +2 -0
  114. package/build/primer/tooltips/tooltips.scss +228 -0
  115. package/build/primer/utilities/README.md +20 -0
  116. package/build/primer/utilities/borders.scss +12 -3
  117. package/build/primer/utilities/box-shadow.scss +0 -2
  118. package/build/primer/utilities/colors.scss +0 -1
  119. package/build/primer/utilities/details.scss +1 -1
  120. package/build/primer/utilities/flexbox.scss +2 -1
  121. package/build/primer/utilities/layout.scss +2 -2
  122. package/build/primer/utilities/margin.scss +2 -3
  123. package/build/primer/utilities/padding.scss +2 -3
  124. package/build/primer/utilities/typography.scss +4 -3
  125. package/build/primer/utilities/visibility-display.scss +2 -1
  126. package/package.json +2 -2
@@ -0,0 +1,129 @@
1
+ // Toast
2
+
3
+ .Toast {
4
+ display: flex;
5
+ margin: var(--base-size-8);
6
+ color: var(--fgColor-default, var(--color-fg-default));
7
+ background-color: var(--bgColor-default, var(--color-canvas-default));
8
+ // stylelint-disable-next-line primer/borders
9
+ border-radius: $border-radius;
10
+ box-shadow: inset 0 0 0 1px var(--borderColor-default, var(--color-border-default)), var(--shadow-floating-legacy, var(--color-overlay-shadow));
11
+
12
+ @include breakpoint(sm) {
13
+ width: max-content;
14
+ max-width: 450px;
15
+ margin: var(--base-size-16);
16
+ }
17
+ }
18
+
19
+ .Toast-icon {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: center;
23
+ width: calc(var(--base-size-16) * 3);
24
+ flex-shrink: 0;
25
+ color: var(--fgColor-onEmphasis, var(--color-fg-on-emphasis));
26
+ background-color: var(--bgColor-accent-emphasis, var(--color-accent-emphasis));
27
+ // stylelint-disable-next-line primer/borders, primer/colors
28
+ border: $border-width $border-style transparent;
29
+ border-right: 0;
30
+ border-top-left-radius: inherit;
31
+ border-bottom-left-radius: inherit;
32
+ }
33
+
34
+ .Toast-content {
35
+ padding: var(--base-size-16);
36
+ }
37
+
38
+ .Toast-dismissButton {
39
+ max-height: 54px; // keeps button aligned to the top
40
+ padding: var(--base-size-16);
41
+ color: inherit;
42
+ background-color: transparent;
43
+ border: 0;
44
+
45
+ &:hover {
46
+ opacity: 0.7;
47
+ }
48
+
49
+ &:active {
50
+ opacity: 0.5;
51
+ }
52
+ }
53
+
54
+ // Modifier
55
+
56
+ .Toast--loading {
57
+ color: var(--fgColor-default, var(--color-fg-default));
58
+ box-shadow: inset 0 0 0 1px var(--borderColor-default, var(--color-border-default)), var(--shadow-floating-legacy, var(--color-overlay-shadow));
59
+
60
+ .Toast-icon {
61
+ background-color: var(--bgColor-neutral-emphasis, var(--color-neutral-emphasis));
62
+ }
63
+ }
64
+
65
+ .Toast--error {
66
+ color: var(--fgColor-default, var(--color-fg-default));
67
+ box-shadow: inset 0 0 0 1px var(--borderColor-default, var(--color-border-default)), var(--shadow-floating-legacy, var(--color-overlay-shadow));
68
+
69
+ .Toast-icon {
70
+ background-color: var(--bgColor-danger-emphasis, var(--color-danger-emphasis));
71
+ }
72
+ }
73
+
74
+ .Toast--warning {
75
+ color: var(--fgColor-default, var(--color-fg-default));
76
+ box-shadow: inset 0 0 0 1px var(--borderColor-default, var(--color-border-default)), var(--shadow-floating-legacy, var(--color-overlay-shadow));
77
+
78
+ .Toast-icon {
79
+ background-color: var(--bgColor-attention-emphasis, var(--color-attention-emphasis));
80
+ }
81
+ }
82
+
83
+ .Toast--success {
84
+ color: var(--fgColor-default, var(--color-fg-default));
85
+ box-shadow: inset 0 0 0 1px var(--borderColor-default, var(--color-border-default)), var(--shadow-floating-legacy, var(--color-overlay-shadow));
86
+
87
+ .Toast-icon {
88
+ background-color: var(--bgColor-success-emphasis, var(--color-success-emphasis));
89
+ }
90
+ }
91
+
92
+ // Animations
93
+
94
+ .Toast--animateIn {
95
+ animation: Toast--animateIn 0.18s cubic-bezier(0.22, 0.61, 0.36, 1) backwards;
96
+ }
97
+
98
+ @keyframes Toast--animateIn {
99
+ 0% {
100
+ opacity: 0;
101
+ transform: translateY(100%);
102
+ }
103
+ }
104
+
105
+ .Toast--animateOut {
106
+ animation: Toast--animateOut 0.18s cubic-bezier(0.55, 0.06, 0.68, 0.19) forwards;
107
+ }
108
+
109
+ @keyframes Toast--animateOut {
110
+ 100% {
111
+ pointer-events: none;
112
+ opacity: 0;
113
+ transform: translateY(100%);
114
+ }
115
+ }
116
+
117
+ .Toast--spinner {
118
+ animation: Toast--spinner 1000ms linear infinite;
119
+ }
120
+
121
+ @keyframes Toast--spinner {
122
+ from {
123
+ transform: rotate(0deg);
124
+ }
125
+
126
+ to {
127
+ transform: rotate(360deg);
128
+ }
129
+ }
@@ -0,0 +1,20 @@
1
+ ---
2
+ bundle: "tooltips"
3
+ generated: true
4
+ ---
5
+
6
+ # Primer CSS: `tooltips` bundle
7
+
8
+ ## Usage
9
+
10
+ Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
11
+
12
+ ```scss
13
+ @import "@primer/css/tooltips/index.scss";
14
+ ```
15
+
16
+ ## Build
17
+
18
+ The `@primer/css` npm package includes a standalone CSS build of this module in `dist/tooltips.css`.
19
+
20
+ [scss]: https://sass-lang.com/documentation/syntax#scss
@@ -0,0 +1,2 @@
1
+ @import '../support/index.scss';
2
+ @import './tooltips.scss';
@@ -0,0 +1,228 @@
1
+ /* stylelint-disable primer/spacing */
2
+
3
+ .tooltipped {
4
+ position: relative;
5
+ }
6
+
7
+ // This is the tooltip bubble
8
+ .tooltipped::after {
9
+ position: absolute;
10
+ z-index: 1000000;
11
+ display: none;
12
+ padding: var(--overlay-paddingBlock-condensed, 0.25rem) var(--overlay-padding-condensed, 0.5rem);
13
+ font: var(--text-body-shorthand-small, normal normal 11px/1.5 $body-font);
14
+ -webkit-font-smoothing: subpixel-antialiased;
15
+ color: var(--fgColor-onEmphasis, var(--color-fg-on-emphasis));
16
+ text-align: center;
17
+ text-decoration: none;
18
+ text-shadow: none;
19
+ text-transform: none;
20
+ letter-spacing: normal;
21
+ word-wrap: break-word;
22
+ white-space: pre;
23
+ pointer-events: none;
24
+ content: attr(aria-label);
25
+ background: var(--bgColor-emphasis, var(--color-neutral-emphasis-plus));
26
+ border-radius: var(--borderRadius-medium);
27
+ opacity: 0;
28
+ }
29
+
30
+ // delay animation for tooltip
31
+ @keyframes tooltip-appear {
32
+ from {
33
+ opacity: 0;
34
+ }
35
+
36
+ to {
37
+ opacity: 1;
38
+ }
39
+ }
40
+
41
+ // This will indicate when we'll activate the tooltip
42
+ .tooltipped:hover,
43
+ .tooltipped:active,
44
+ .tooltipped:focus {
45
+ &::before,
46
+ &::after {
47
+ display: inline-block;
48
+ text-decoration: none;
49
+ animation-name: tooltip-appear;
50
+ animation-duration: $tooltip-duration;
51
+ animation-fill-mode: forwards;
52
+ animation-timing-function: ease-in;
53
+ }
54
+ }
55
+
56
+ .tooltipped-no-delay:hover,
57
+ .tooltipped-no-delay:active,
58
+ .tooltipped-no-delay:focus {
59
+ &::before,
60
+ &::after {
61
+ animation-delay: 0s;
62
+ }
63
+ }
64
+
65
+ .tooltipped-multiline:hover,
66
+ .tooltipped-multiline:active,
67
+ .tooltipped-multiline:focus {
68
+ &::after {
69
+ display: table-cell;
70
+ }
71
+ }
72
+
73
+ // Tooltipped south
74
+ .tooltipped-s,
75
+ .tooltipped-se,
76
+ .tooltipped-sw {
77
+ &::after {
78
+ top: 100%;
79
+ right: 50%;
80
+ margin-top: 6px;
81
+ }
82
+ }
83
+
84
+ .tooltipped-se {
85
+ &::after {
86
+ right: auto;
87
+ left: 50%;
88
+ margin-left: calc(var(--base-size-16) * -1);
89
+ }
90
+ }
91
+
92
+ .tooltipped-sw::after {
93
+ margin-right: calc(var(--base-size-16) * -1);
94
+ }
95
+
96
+ // Tooltips above the object
97
+ .tooltipped-n,
98
+ .tooltipped-ne,
99
+ .tooltipped-nw {
100
+ &::after {
101
+ right: 50%;
102
+ bottom: 100%;
103
+ margin-bottom: 6px;
104
+ }
105
+ }
106
+
107
+ .tooltipped-ne {
108
+ &::after {
109
+ right: auto;
110
+ left: 50%;
111
+ margin-left: calc(var(--base-size-16) * -1);
112
+ }
113
+ }
114
+
115
+ .tooltipped-nw::after {
116
+ margin-right: calc(var(--base-size-16) * -1);
117
+ }
118
+
119
+ // Move the tooltip body to the center of the object.
120
+ .tooltipped-s::after,
121
+ .tooltipped-n::after {
122
+ transform: translateX(50%);
123
+ }
124
+
125
+ // Tooltipped to the left
126
+ .tooltipped-w {
127
+ &::after {
128
+ right: 100%;
129
+ bottom: 50%;
130
+ margin-right: 6px;
131
+ transform: translateY(50%);
132
+ }
133
+ }
134
+
135
+ // tooltipped to the right
136
+ .tooltipped-e {
137
+ &::after {
138
+ bottom: 50%;
139
+ left: 100%;
140
+ margin-left: 6px;
141
+ transform: translateY(50%);
142
+ }
143
+ }
144
+
145
+ // Tooltip align right and left
146
+ .tooltipped-align-right-1,
147
+ .tooltipped-align-right-2 {
148
+ &::after {
149
+ right: 0;
150
+ margin-right: 0;
151
+ }
152
+ }
153
+
154
+ .tooltipped-align-right-1 {
155
+ &::before {
156
+ right: 10px;
157
+ }
158
+ }
159
+
160
+ .tooltipped-align-right-2 {
161
+ &::before {
162
+ right: 15px;
163
+ }
164
+ }
165
+
166
+ .tooltipped-align-left-1,
167
+ .tooltipped-align-left-2 {
168
+ &::after {
169
+ left: 0;
170
+ margin-left: 0;
171
+ }
172
+ }
173
+
174
+ .tooltipped-align-left-1 {
175
+ &::before {
176
+ left: 5px;
177
+ }
178
+ }
179
+
180
+ .tooltipped-align-left-2 {
181
+ &::before {
182
+ left: 10px;
183
+ }
184
+ }
185
+
186
+ // Multiline tooltips
187
+ //
188
+ // `.tooltipped-multiline` Add this class when you have long content.
189
+ // The downside is you cannot preformat the text with newlines and `[w,e]`
190
+ // are always `$tooltip-max-width` wide.
191
+ .tooltipped-multiline {
192
+ &::after {
193
+ width: max-content;
194
+ max-width: var(--overlay-width-small, 20rem);
195
+ word-wrap: break-word;
196
+ white-space: pre-line;
197
+ // stylelint-disable-next-line primer/borders
198
+ border-collapse: separate;
199
+ }
200
+
201
+ &.tooltipped-s::after,
202
+ &.tooltipped-n::after {
203
+ right: auto;
204
+ left: 50%;
205
+ transform: translateX(-50%);
206
+ }
207
+
208
+ &.tooltipped-w::after,
209
+ &.tooltipped-e::after {
210
+ right: 100%;
211
+ }
212
+ }
213
+
214
+ // Sticky tooltips
215
+ //
216
+ // Always show the tooltip.
217
+ .tooltipped-sticky {
218
+ &::before,
219
+ &::after {
220
+ display: inline-block;
221
+ }
222
+
223
+ &.tooltipped-multiline {
224
+ &::after {
225
+ display: table-cell;
226
+ }
227
+ }
228
+ }
@@ -0,0 +1,20 @@
1
+ ---
2
+ bundle: "utilities"
3
+ generated: true
4
+ ---
5
+
6
+ # Primer CSS: `utilities` bundle
7
+
8
+ ## Usage
9
+
10
+ Primer CSS source files are written in [SCSS]. To include this Primer CSS module in your own build, ensure that your `node_modules` directory is listed in your Sass include paths, then import it with:
11
+
12
+ ```scss
13
+ @import "@primer/css/utilities/index.scss";
14
+ ```
15
+
16
+ ## Build
17
+
18
+ The `@primer/css` npm package includes a standalone CSS build of this module in `dist/utilities.css`.
19
+
20
+ [scss]: https://sass-lang.com/documentation/syntax#scss
@@ -1,19 +1,23 @@
1
- @import "../support/variables/misc.scss";
2
- @import "../support/variables/layout.scss";
3
- @import "../support/mixins/layout.scss";
1
+ @import '../support/mixins/layout.scss';
2
+ @import '../support/variables/layout.scss';
3
+ @import '../support/variables/misc.scss';
4
4
 
5
5
  // Core border utilities
6
6
  // stylelint-disable primer/borders
7
7
 
8
8
  /* Add a gray border to the left and right */
9
9
  .border-x {
10
+ // stylelint-disable-next-line primer/colors
10
11
  border-right: $border-rem !important;
12
+ // stylelint-disable-next-line primer/colors
11
13
  border-left: $border-rem !important;
12
14
  }
13
15
 
14
16
  /* Add a gray border to the top and bottom */
15
17
  .border-y {
18
+ // stylelint-disable-next-line primer/colors
16
19
  border-top: $border-rem !important;
20
+ // stylelint-disable-next-line primer/colors
17
21
  border-bottom: $border-rem !important;
18
22
  }
19
23
 
@@ -21,12 +25,17 @@
21
25
  @each $breakpoint, $variant in $responsive-variants {
22
26
  @include breakpoint($breakpoint) {
23
27
  /* Add a gray border on all sides at/above this breakpoint */
28
+ // stylelint-disable-next-line primer/colors
24
29
  .border#{$variant} { border: $border-rem !important; }
25
30
  .border#{$variant}-0 { border: 0 !important; }
26
31
 
32
+ // stylelint-disable-next-line primer/colors
27
33
  .border#{$variant}-top { border-top: $border-rem !important; }
34
+ // stylelint-disable-next-line primer/colors
28
35
  .border#{$variant}-right { border-right: $border-rem !important; }
36
+ // stylelint-disable-next-line primer/colors
29
37
  .border#{$variant}-bottom { border-bottom: $border-rem !important; }
38
+ // stylelint-disable-next-line primer/colors
30
39
  .border#{$variant}-left { border-left: $border-rem !important; }
31
40
 
32
41
  .border#{$variant}-top-0 { border-top: 0 !important; }
@@ -1,5 +1,3 @@
1
- @import "../support/variables/misc.scss";
2
-
3
1
  // Box shadow utilities
4
2
 
5
3
  // Box shadows
@@ -1,4 +1,3 @@
1
- // stylelint-disable block-opening-brace-space-before
2
1
 
3
2
  // Foreground
4
3
 
@@ -1,4 +1,4 @@
1
- @import "../support/mixins/misc.scss";
1
+ @import '../support/mixins/misc.scss';
2
2
 
3
3
  // stylelint-disable selector-max-type, selector-max-specificity, max-nesting-depth, selector-no-qualifying-type
4
4
 
@@ -1,4 +1,5 @@
1
- @import "../support/mixins/layout.scss";
1
+ @import '../support/mixins/layout.scss';
2
+ @import '../support/variables/layout.scss';
2
3
 
3
4
  // Flex utility classes
4
5
  @each $breakpoint, $variant in $responsive-variants {
@@ -1,7 +1,7 @@
1
- @import "../support/mixins/layout.scss";
1
+ @import '../support/mixins/layout.scss';
2
+ @import '../support/variables/layout.scss';
2
3
 
3
4
  // Layout
4
- // stylelint-disable comment-empty-line-before
5
5
 
6
6
  /* Position */
7
7
  @each $breakpoint, $variant in $responsive-variants {
@@ -1,8 +1,7 @@
1
- @import "../support/variables/layout.scss";
2
- @import "../support/mixins/layout.scss";
1
+ @import '../support/mixins/layout.scss';
2
+ @import '../support/variables/layout.scss';
3
3
 
4
4
  // Margin spacer utilities
5
- // stylelint-disable comment-empty-line-before
6
5
  // stylelint-disable primer/spacing
7
6
 
8
7
  // Loop through the breakpoint values
@@ -1,8 +1,7 @@
1
- @import "../support/variables/layout.scss";
2
- @import "../support/mixins/layout.scss";
1
+ @import '../support/mixins/layout.scss';
2
+ @import '../support/variables/layout.scss';
3
3
 
4
4
  // Padding spacer utilities
5
- // stylelint-disable comment-empty-line-before
6
5
  // stylelint-disable primer/spacing
7
6
 
8
7
  // Responsive padding spacer utilities
@@ -1,7 +1,7 @@
1
- @import "../support/variables/typography.scss";
2
- @import "../support/mixins/layout.scss";
1
+ @import '../support/mixins/layout.scss';
2
+ @import '../support/variables/typography.scss';
3
3
 
4
- // stylelint-disable comment-empty-line-before, primer/typography
4
+ // stylelint-disable primer/typography
5
5
 
6
6
  // Type scale variables found in ../support/lib/variables.scss
7
7
  // $h00-size-mobile: 40px;
@@ -290,6 +290,7 @@
290
290
 
291
291
  /* Force long "words" to wrap if they exceed the width of the container */
292
292
  .wb-break-word {
293
+ // stylelint-disable-next-line declaration-property-value-keyword-no-deprecated
293
294
  word-break: break-word !important;
294
295
  // this is for backwards compatibility with browsers that don't respect overflow-wrap
295
296
  word-wrap: break-word !important;
@@ -1,4 +1,5 @@
1
- @import "../support/mixins/layout.scss";
1
+ @import '../support/mixins/layout.scss';
2
+ @import '../support/variables/layout.scss';
2
3
 
3
4
  // Visibility and display utilities
4
5
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@papillonbits/css",
3
- "version": "1.3.0",
3
+ "version": "1.5.0",
4
4
  "description": "Papillon Bits CSS",
5
5
  "homepage": "https://github.com/papillonbits/papillonbits/tree/master/packages/css",
6
6
  "repository": {
@@ -23,5 +23,5 @@
23
23
  "build-acceptance": "npm run build",
24
24
  "build-release": "npm run build"
25
25
  },
26
- "gitHead": "b311be8dc109fd3b709526949dfeb0e43ad1c564"
26
+ "gitHead": "37d2e11cddea38bf89dd90d8167f3fe5ee8bdcfa"
27
27
  }