@spectrum-web-components/styles 0.15.0 → 0.15.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/body.dev.js +5 -0
- package/body.dev.js.map +7 -0
- package/body.js +4 -15
- package/body.js.map +7 -1
- package/code.dev.js +5 -0
- package/code.dev.js.map +7 -0
- package/code.js +4 -15
- package/code.js.map +7 -1
- package/detail.dev.js +5 -0
- package/detail.dev.js.map +7 -0
- package/detail.js +4 -15
- package/detail.js.map +7 -1
- package/express/spectrum-scale-large.css +0 -9
- package/express/spectrum-scale-medium.css +0 -9
- package/heading.dev.js +5 -0
- package/heading.dev.js.map +7 -0
- package/heading.js +4 -15
- package/heading.js.map +7 -1
- package/package.json +56 -18
- package/spectrum-scale-large.css +0 -9
- package/spectrum-scale-medium.css +0 -9
- package/src/spectrum-base.css.dev.js +10 -0
- package/src/spectrum-base.css.dev.js.map +7 -0
- package/src/spectrum-base.css.js +3 -14
- package/src/spectrum-base.css.js.map +7 -1
- package/src/spectrum-body.css.dev.js +100 -0
- package/src/spectrum-body.css.dev.js.map +7 -0
- package/src/spectrum-body.css.js +3 -14
- package/src/spectrum-body.css.js.map +7 -1
- package/src/spectrum-code.css.dev.js +84 -0
- package/src/spectrum-code.css.dev.js.map +7 -0
- package/src/spectrum-code.css.js +3 -14
- package/src/spectrum-code.css.js.map +7 -1
- package/src/spectrum-detail.css.dev.js +154 -0
- package/src/spectrum-detail.css.dev.js.map +7 -0
- package/src/spectrum-detail.css.js +3 -14
- package/src/spectrum-detail.css.js.map +7 -1
- package/src/spectrum-heading.css.dev.js +148 -0
- package/src/spectrum-heading.css.dev.js.map +7 -0
- package/src/spectrum-heading.css.js +3 -14
- package/src/spectrum-heading.css.js.map +7 -1
- package/src/spectrum-lang.css.dev.js +468 -0
- package/src/spectrum-lang.css.dev.js.map +7 -0
- package/src/spectrum-lang.css.js +3 -14
- package/src/spectrum-lang.css.js.map +7 -1
- package/src/spectrum-typography.css.dev.js +66 -0
- package/src/spectrum-typography.css.dev.js.map +7 -0
- package/src/spectrum-typography.css.js +3 -14
- package/src/spectrum-typography.css.js.map +7 -1
- package/stories/styles.stories.js +4 -15
- package/stories/styles.stories.js.map +7 -1
- package/test/styles.test-vrt.js +4 -15
- package/test/styles.test-vrt.js.map +7 -1
- package/tokens/dark-vars.css +2 -1
- package/tokens/darkest-vars.css +2 -1
- package/tokens/express/custom-large-vars.css +2 -1
- package/tokens/express/custom-medium-vars.css +2 -1
- package/tokens/express/custom-vars.css +2 -1
- package/tokens/express/global-vars.css +4 -2
- package/tokens/express/large-vars.css +2 -1
- package/tokens/express/medium-vars.css +2 -1
- package/tokens/global-vars.css +4 -1
- package/tokens/large-vars.css +14 -5
- package/tokens/light-vars.css +2 -1
- package/tokens/medium-vars.css +13 -4
- package/tokens/spectrum/custom-large-vars.css +27 -1
- package/tokens/spectrum/custom-medium-vars.css +27 -1
- package/tokens/spectrum/custom-vars.css +14 -2
- package/tokens/spectrum/global-vars.css +4 -16
- package/tokens/spectrum/large-vars.css +9 -1
- package/tokens/spectrum/medium-vars.css +9 -1
- package/typography.dev.js +3 -0
- package/typography.dev.js.map +7 -0
- package/typography.js +2 -13
- package/typography.js.map +7 -1
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-accent-color-100: var(--spectrum-indigo-100);
|
|
15
16
|
--spectrum-accent-color-200: var(--spectrum-indigo-200);
|
|
16
17
|
--spectrum-accent-color-300: var(--spectrum-indigo-300);
|
|
@@ -27,7 +28,8 @@ governing permissions and limitations under the License.
|
|
|
27
28
|
--spectrum-accent-color-1400: var(--spectrum-indigo-1400);
|
|
28
29
|
--spectrum-border-width-100: 2px;
|
|
29
30
|
}
|
|
30
|
-
:host
|
|
31
|
+
:host,
|
|
32
|
+
:root {
|
|
31
33
|
--system-spectrum-actionbutton-background-color-default: var(
|
|
32
34
|
--spectrum-gray-200
|
|
33
35
|
);
|
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-checkbox-control-size-small: 18px;
|
|
15
16
|
--spectrum-checkbox-control-size-medium: 20px;
|
|
16
17
|
--spectrum-checkbox-control-size-large: 22px;
|
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-checkbox-control-size-small: 14px;
|
|
15
16
|
--spectrum-checkbox-control-size-medium: 16px;
|
|
16
17
|
--spectrum-checkbox-control-size-large: 18px;
|
package/tokens/global-vars.css
CHANGED
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-transparent-white-200: rgba(255, 255, 255, 0.1);
|
|
15
16
|
--spectrum-transparent-white-300: rgba(255, 255, 255, 0.25);
|
|
16
17
|
--spectrum-transparent-white-400: rgba(255, 255, 255, 0.4);
|
|
@@ -138,6 +139,8 @@ governing permissions and limitations under the License.
|
|
|
138
139
|
--spectrum-divider-thickness-medium: 2px;
|
|
139
140
|
--spectrum-divider-thickness-large: 4px;
|
|
140
141
|
--spectrum-radio-button-selection-indicator: 4px;
|
|
142
|
+
--spectrum-popover-tip-width: 16px;
|
|
143
|
+
--spectrum-popover-tip-height: 8px;
|
|
141
144
|
--spectrum-android-elevation: 2dp;
|
|
142
145
|
--spectrum-spacing-50: 2px;
|
|
143
146
|
--spectrum-spacing-75: 4px;
|
package/tokens/large-vars.css
CHANGED
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-component-pill-edge-to-visual-75: 13px;
|
|
15
16
|
--spectrum-component-pill-edge-to-visual-100: 17px;
|
|
16
17
|
--spectrum-component-pill-edge-to-visual-200: 22px;
|
|
@@ -54,12 +55,13 @@ governing permissions and limitations under the License.
|
|
|
54
55
|
--spectrum-component-top-to-text-200: 12px;
|
|
55
56
|
--spectrum-component-top-to-text-300: 15px;
|
|
56
57
|
--spectrum-component-bottom-to-text-50: 6px;
|
|
57
|
-
--spectrum-component-bottom-to-text-75:
|
|
58
|
+
--spectrum-component-bottom-to-text-75: 6px;
|
|
58
59
|
--spectrum-component-bottom-to-text-100: 11px;
|
|
59
60
|
--spectrum-component-bottom-to-text-200: 14px;
|
|
60
61
|
--spectrum-component-bottom-to-text-300: 18px;
|
|
61
62
|
--spectrum-action-bar-height: 56px;
|
|
62
63
|
--spectrum-action-bar-top-to-item-counter: 16px;
|
|
64
|
+
--spectrum-action-button-edge-to-hold-icon-extra-small: 3px;
|
|
63
65
|
--spectrum-action-button-edge-to-hold-icon-small: 3px;
|
|
64
66
|
--spectrum-action-button-edge-to-hold-icon-medium: 5px;
|
|
65
67
|
--spectrum-action-button-edge-to-hold-icon-large: 6px;
|
|
@@ -77,9 +79,9 @@ governing permissions and limitations under the License.
|
|
|
77
79
|
--spectrum-field-label-top-margin-large: 5px;
|
|
78
80
|
--spectrum-field-label-top-margin-extra-large: 5px;
|
|
79
81
|
--spectrum-help-text-top-to-workflow-icon-small: 5px;
|
|
80
|
-
--spectrum-help-text-top-to-workflow-icon-medium:
|
|
81
|
-
--spectrum-help-text-top-to-workflow-icon-large:
|
|
82
|
-
--spectrum-help-text-top-to-workflow-icon-extra-large:
|
|
82
|
+
--spectrum-help-text-top-to-workflow-icon-medium: 4px;
|
|
83
|
+
--spectrum-help-text-top-to-workflow-icon-large: 8px;
|
|
84
|
+
--spectrum-help-text-top-to-workflow-icon-extra-large: 11px;
|
|
83
85
|
--spectrum-in-line-alert-minimum-width: 360px;
|
|
84
86
|
--spectrum-progress-bar-minimum-width: 48px;
|
|
85
87
|
--spectrum-progress-bar-maximum-width: 768px;
|
|
@@ -108,6 +110,13 @@ governing permissions and limitations under the License.
|
|
|
108
110
|
--spectrum-tooltip-width: 10px;
|
|
109
111
|
--spectrum-tooltip-height: 5px;
|
|
110
112
|
--spectrum-tooltip-maximum-width: 200px;
|
|
113
|
+
--spectrum-tag-top-to-avatar-small: 5px;
|
|
114
|
+
--spectrum-tag-top-to-avatar-medium: 9px;
|
|
115
|
+
--spectrum-tag-top-to-avatar-large: 12px;
|
|
116
|
+
--spectrum-tag-top-to-cross-icon-small: 10px;
|
|
117
|
+
--spectrum-tag-top-to-cross-icon-medium: 15px;
|
|
118
|
+
--spectrum-tag-top-to-cross-icon-large: 19px;
|
|
119
|
+
--spectrum-popover-top-to-content-area: 5px;
|
|
111
120
|
--spectrum-font-size-50: 13px;
|
|
112
121
|
--spectrum-font-size-75: 15px;
|
|
113
122
|
--spectrum-font-size-100: 17px;
|
package/tokens/light-vars.css
CHANGED
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-neutral-background-color-default: var(--spectrum-gray-800);
|
|
15
16
|
--spectrum-neutral-background-color-hover: var(--spectrum-gray-900);
|
|
16
17
|
--spectrum-neutral-background-color-down: var(--spectrum-gray-900);
|
package/tokens/medium-vars.css
CHANGED
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-component-pill-edge-to-visual-75: 10px;
|
|
15
16
|
--spectrum-component-pill-edge-to-visual-100: 14px;
|
|
16
17
|
--spectrum-component-pill-edge-to-visual-200: 18px;
|
|
@@ -60,6 +61,7 @@ governing permissions and limitations under the License.
|
|
|
60
61
|
--spectrum-component-bottom-to-text-300: 14px;
|
|
61
62
|
--spectrum-action-bar-height: 48px;
|
|
62
63
|
--spectrum-action-bar-top-to-item-counter: 14px;
|
|
64
|
+
--spectrum-action-button-edge-to-hold-icon-extra-small: 3px;
|
|
63
65
|
--spectrum-action-button-edge-to-hold-icon-small: 3px;
|
|
64
66
|
--spectrum-action-button-edge-to-hold-icon-medium: 4px;
|
|
65
67
|
--spectrum-action-button-edge-to-hold-icon-large: 5px;
|
|
@@ -77,9 +79,9 @@ governing permissions and limitations under the License.
|
|
|
77
79
|
--spectrum-field-label-top-margin-large: 4px;
|
|
78
80
|
--spectrum-field-label-top-margin-extra-large: 4px;
|
|
79
81
|
--spectrum-help-text-top-to-workflow-icon-small: 4px;
|
|
80
|
-
--spectrum-help-text-top-to-workflow-icon-medium:
|
|
81
|
-
--spectrum-help-text-top-to-workflow-icon-large:
|
|
82
|
-
--spectrum-help-text-top-to-workflow-icon-extra-large:
|
|
82
|
+
--spectrum-help-text-top-to-workflow-icon-medium: 3px;
|
|
83
|
+
--spectrum-help-text-top-to-workflow-icon-large: 6px;
|
|
84
|
+
--spectrum-help-text-top-to-workflow-icon-extra-large: 9px;
|
|
83
85
|
--spectrum-in-line-alert-minimum-width: 320px;
|
|
84
86
|
--spectrum-progress-bar-minimum-width: 48px;
|
|
85
87
|
--spectrum-progress-bar-maximum-width: 768px;
|
|
@@ -108,6 +110,13 @@ governing permissions and limitations under the License.
|
|
|
108
110
|
--spectrum-tooltip-width: 8px;
|
|
109
111
|
--spectrum-tooltip-height: 4px;
|
|
110
112
|
--spectrum-tooltip-maximum-width: 160px;
|
|
113
|
+
--spectrum-tag-top-to-avatar-small: 4px;
|
|
114
|
+
--spectrum-tag-top-to-avatar-medium: 6px;
|
|
115
|
+
--spectrum-tag-top-to-avatar-large: 9px;
|
|
116
|
+
--spectrum-tag-top-to-cross-icon-small: 8px;
|
|
117
|
+
--spectrum-tag-top-to-cross-icon-medium: 12px;
|
|
118
|
+
--spectrum-tag-top-to-cross-icon-large: 15px;
|
|
119
|
+
--spectrum-popover-top-to-content-area: 4px;
|
|
111
120
|
--spectrum-font-size-50: 11px;
|
|
112
121
|
--spectrum-font-size-75: 12px;
|
|
113
122
|
--spectrum-font-size-100: 14px;
|
|
@@ -12,10 +12,36 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
/* This file contains overrides and additions to core tokens */
|
|
14
14
|
|
|
15
|
-
:host
|
|
15
|
+
:host,
|
|
16
|
+
:root {
|
|
16
17
|
/* edge-to-visual-only is used for icon-only buttons */
|
|
17
18
|
--spectrum-edge-to-visual-only-75: 5px;
|
|
18
19
|
--spectrum-edge-to-visual-only-100: 9px;
|
|
19
20
|
--spectrum-edge-to-visual-only-200: 13px;
|
|
20
21
|
--spectrum-edge-to-visual-only-300: 16px;
|
|
22
|
+
|
|
23
|
+
/* tokens for button control size medium, large, extra large are available only as -desktop and -mobile */
|
|
24
|
+
--spectrum-radio-button-control-size-medium: var(
|
|
25
|
+
--spectrum-radio-button-control-size-medium-mobile
|
|
26
|
+
);
|
|
27
|
+
--spectrum-radio-button-control-size-large: var(
|
|
28
|
+
--spectrum-radio-button-control-size-large-mobile
|
|
29
|
+
);
|
|
30
|
+
--spectrum-radio-button-control-size-extra-large: var(
|
|
31
|
+
--spectrum-radio-button-control-size-extra-large-mobile
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/* tokens for button top to control are available only as -desktop and -mobile */
|
|
35
|
+
--spectrum-radio-button-top-to-control-small: var(
|
|
36
|
+
--spectrum-radio-button-top-to-control-small-mobile
|
|
37
|
+
);
|
|
38
|
+
--spectrum-radio-button-top-to-control-medium: var(
|
|
39
|
+
--spectrum-radio-button-top-to-control-medium-mobile
|
|
40
|
+
);
|
|
41
|
+
--spectrum-radio-button-top-to-control-large: var(
|
|
42
|
+
--spectrum-radio-button-top-to-control-large-mobile
|
|
43
|
+
);
|
|
44
|
+
--spectrum-radio-button-top-to-control-extra-large: var(
|
|
45
|
+
--spectrum-radio-button-top-to-control-extra-large-mobile
|
|
46
|
+
);
|
|
21
47
|
}
|
|
@@ -12,10 +12,36 @@ governing permissions and limitations under the License.
|
|
|
12
12
|
|
|
13
13
|
/* This file contains overrides and additions to core tokens */
|
|
14
14
|
|
|
15
|
-
:host
|
|
15
|
+
:host,
|
|
16
|
+
:root {
|
|
16
17
|
/* edge-to-visual-only is used for icon-only buttons */
|
|
17
18
|
--spectrum-edge-to-visual-only-75: 4px;
|
|
18
19
|
--spectrum-edge-to-visual-only-100: 7px;
|
|
19
20
|
--spectrum-edge-to-visual-only-200: 10px;
|
|
20
21
|
--spectrum-edge-to-visual-only-300: 13px;
|
|
22
|
+
|
|
23
|
+
/* tokens for button control size medium, large, extra large are available only as -desktop and -mobile */
|
|
24
|
+
--spectrum-radio-button-control-size-medium: var(
|
|
25
|
+
--spectrum-radio-button-control-size-medium-desktop
|
|
26
|
+
);
|
|
27
|
+
--spectrum-radio-button-control-size-large: var(
|
|
28
|
+
--spectrum-radio-button-control-size-large-desktop
|
|
29
|
+
);
|
|
30
|
+
--spectrum-radio-button-control-size-extra-large: var(
|
|
31
|
+
--spectrum-radio-button-control-size-extra-large-desktop
|
|
32
|
+
);
|
|
33
|
+
|
|
34
|
+
/* tokens for button top to control are available only as -desktop and -mobile */
|
|
35
|
+
--spectrum-radio-button-top-to-control-small: var(
|
|
36
|
+
--spectrum-radio-button-top-to-control-small-desktop
|
|
37
|
+
);
|
|
38
|
+
--spectrum-radio-button-top-to-control-medium: var(
|
|
39
|
+
--spectrum-radio-button-top-to-control-medium-desktop
|
|
40
|
+
);
|
|
41
|
+
--spectrum-radio-button-top-to-control-large: var(
|
|
42
|
+
--spectrum-radio-button-top-to-control-large-desktop
|
|
43
|
+
);
|
|
44
|
+
--spectrum-radio-button-top-to-control-extra-large: var(
|
|
45
|
+
--spectrum-radio-button-top-to-control-extra-large-desktop
|
|
46
|
+
);
|
|
21
47
|
}
|
|
@@ -11,11 +11,13 @@ governing permissions and limitations under the License.
|
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
13
|
/* This file contains overrides and additions to core tokens */
|
|
14
|
-
:host
|
|
14
|
+
:host,
|
|
15
|
+
:root {
|
|
15
16
|
--system: spectrum;
|
|
16
17
|
}
|
|
17
18
|
|
|
18
|
-
:host
|
|
19
|
+
:host,
|
|
20
|
+
:root {
|
|
19
21
|
--spectrum-animation-duration-100: 130ms;
|
|
20
22
|
|
|
21
23
|
--spectrum-font-family-base: adobe-clean, 'Source Sans Pro', -apple-system,
|
|
@@ -28,4 +30,14 @@ governing permissions and limitations under the License.
|
|
|
28
30
|
--spectrum-line-height-large: 1.7;
|
|
29
31
|
--spectrum-line-height-medium: 1.5;
|
|
30
32
|
--spectrum-line-height-small: 1.3;
|
|
33
|
+
|
|
34
|
+
--spectrum-font-weight-thin: 100;
|
|
35
|
+
--spectrum-font-weight-ultra-light: 200;
|
|
36
|
+
--spectrum-font-weight-light: 300;
|
|
37
|
+
--spectrum-font-weight-regular: 400;
|
|
38
|
+
--spectrum-font-weight-medium: 500;
|
|
39
|
+
--spectrum-font-weight-semi-bold: 600;
|
|
40
|
+
--spectrum-font-weight-bold: 700;
|
|
41
|
+
--spectrum-font-weight-extra-bold: 800;
|
|
42
|
+
--spectrum-font-weight-black: 900;
|
|
31
43
|
}
|
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-accent-color-100: var(--spectrum-blue-100);
|
|
15
16
|
--spectrum-accent-color-200: var(--spectrum-blue-200);
|
|
16
17
|
--spectrum-accent-color-300: var(--spectrum-blue-300);
|
|
@@ -25,23 +26,10 @@ governing permissions and limitations under the License.
|
|
|
25
26
|
--spectrum-accent-color-1200: var(--spectrum-blue-1200);
|
|
26
27
|
--spectrum-accent-color-1300: var(--spectrum-blue-1300);
|
|
27
28
|
--spectrum-accent-color-1400: var(--spectrum-blue-1400);
|
|
28
|
-
--spectrum-radio-button-control-size-medium-desktop: 14px;
|
|
29
|
-
--spectrum-radio-button-control-size-medium-mobile: 18px;
|
|
30
|
-
--spectrum-radio-button-control-size-large-desktop: 16px;
|
|
31
|
-
--spectrum-radio-button-control-size-large-mobile: 20px;
|
|
32
|
-
--spectrum-radio-button-control-size-extra-large-desktop: 18px;
|
|
33
|
-
--spectrum-radio-button-control-size-extra-large-mobile: 22px;
|
|
34
|
-
--spectrum-radio-button-top-to-control-small-desktop: 6px;
|
|
35
|
-
--spectrum-radio-button-top-to-control-small-mobile: 7px;
|
|
36
|
-
--spectrum-radio-button-top-to-control-medium-desktop: 9px;
|
|
37
|
-
--spectrum-radio-button-top-to-control-medium-mobile: 11px;
|
|
38
|
-
--spectrum-radio-button-top-to-control-large-desktop: 12px;
|
|
39
|
-
--spectrum-radio-button-top-to-control-large-mobile: 15px;
|
|
40
|
-
--spectrum-radio-button-top-to-control-extra-large-desktop: 15px;
|
|
41
|
-
--spectrum-radio-button-top-to-control-extra-large-mobile: 19px;
|
|
42
29
|
--spectrum-border-width-100: 1px;
|
|
43
30
|
}
|
|
44
|
-
:host
|
|
31
|
+
:host,
|
|
32
|
+
:root {
|
|
45
33
|
--system-spectrum-actionbutton-background-color-default: var(
|
|
46
34
|
--spectrum-gray-75
|
|
47
35
|
);
|
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-checkbox-control-size-small: 16px;
|
|
15
16
|
--spectrum-checkbox-control-size-medium: 18px;
|
|
16
17
|
--spectrum-checkbox-control-size-large: 20px;
|
|
@@ -20,6 +21,13 @@ governing permissions and limitations under the License.
|
|
|
20
21
|
--spectrum-checkbox-top-to-control-large: 15px;
|
|
21
22
|
--spectrum-checkbox-top-to-control-extra-large: 19px;
|
|
22
23
|
--spectrum-radio-button-control-size-small: 16px;
|
|
24
|
+
--spectrum-radio-button-control-size-medium: 18px;
|
|
25
|
+
--spectrum-radio-button-control-size-large: 20px;
|
|
26
|
+
--spectrum-radio-button-control-size-extra-large: 22px;
|
|
27
|
+
--spectrum-radio-button-top-to-control-small: 7px;
|
|
28
|
+
--spectrum-radio-button-top-to-control-medium: 11px;
|
|
29
|
+
--spectrum-radio-button-top-to-control-large: 15px;
|
|
30
|
+
--spectrum-radio-button-top-to-control-extra-large: 19px;
|
|
23
31
|
--spectrum-switch-control-width-small: 32px;
|
|
24
32
|
--spectrum-switch-control-width-medium: 36px;
|
|
25
33
|
--spectrum-switch-control-width-large: 41px;
|
|
@@ -10,7 +10,8 @@ OF ANY KIND, either express or implied. See the License for the specific languag
|
|
|
10
10
|
governing permissions and limitations under the License.
|
|
11
11
|
*/
|
|
12
12
|
|
|
13
|
-
:host
|
|
13
|
+
:host,
|
|
14
|
+
:root {
|
|
14
15
|
--spectrum-checkbox-control-size-small: 12px;
|
|
15
16
|
--spectrum-checkbox-control-size-medium: 14px;
|
|
16
17
|
--spectrum-checkbox-control-size-large: 16px;
|
|
@@ -20,6 +21,13 @@ governing permissions and limitations under the License.
|
|
|
20
21
|
--spectrum-checkbox-top-to-control-large: 12px;
|
|
21
22
|
--spectrum-checkbox-top-to-control-extra-large: 15px;
|
|
22
23
|
--spectrum-radio-button-control-size-small: 12px;
|
|
24
|
+
--spectrum-radio-button-control-size-medium: 14px;
|
|
25
|
+
--spectrum-radio-button-control-size-large: 16px;
|
|
26
|
+
--spectrum-radio-button-control-size-extra-large: 18px;
|
|
27
|
+
--spectrum-radio-button-top-to-control-small: 6px;
|
|
28
|
+
--spectrum-radio-button-top-to-control-medium: 9px;
|
|
29
|
+
--spectrum-radio-button-top-to-control-large: 12px;
|
|
30
|
+
--spectrum-radio-button-top-to-control-extra-large: 15px;
|
|
23
31
|
--spectrum-switch-control-width-small: 23px;
|
|
24
32
|
--spectrum-switch-control-width-medium: 26px;
|
|
25
33
|
--spectrum-switch-control-width-large: 29px;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["typography.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport typographyStyles from './src/spectrum-typography.css.js';\n\nexport default [typographyStyles];\n"],
|
|
5
|
+
"mappings": "AAYA;AAEA,eAAe,CAAC,gBAAgB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|
package/typography.js
CHANGED
|
@@ -1,14 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
Copyright 2020 Adobe. All rights reserved.
|
|
3
|
-
This file is licensed to you under the Apache License, Version 2.0 (the "License");
|
|
4
|
-
you may not use this file except in compliance with the License. You may obtain a copy
|
|
5
|
-
of the License at http://www.apache.org/licenses/LICENSE-2.0
|
|
6
|
-
|
|
7
|
-
Unless required by applicable law or agreed to in writing, software distributed under
|
|
8
|
-
the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS
|
|
9
|
-
OF ANY KIND, either express or implied. See the License for the specific language
|
|
10
|
-
governing permissions and limitations under the License.
|
|
11
|
-
*/
|
|
12
|
-
import typographyStyles from './src/spectrum-typography.css.js';
|
|
1
|
+
import typographyStyles from "./src/spectrum-typography.css.js";
|
|
13
2
|
export default [typographyStyles];
|
|
14
|
-
//# sourceMappingURL=typography.js.map
|
|
3
|
+
//# sourceMappingURL=typography.js.map
|
package/typography.js.map
CHANGED
|
@@ -1 +1,7 @@
|
|
|
1
|
-
{
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["typography.ts"],
|
|
4
|
+
"sourcesContent": ["/*\nCopyright 2020 Adobe. All rights reserved.\nThis file is licensed to you under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License. You may obtain a copy\nof the License at http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under\nthe License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS\nOF ANY KIND, either express or implied. See the License for the specific language\ngoverning permissions and limitations under the License.\n*/\n\nimport typographyStyles from './src/spectrum-typography.css.js';\n\nexport default [typographyStyles];\n"],
|
|
5
|
+
"mappings": "AAYA;AAEA,eAAe,CAAC,gBAAgB;",
|
|
6
|
+
"names": []
|
|
7
|
+
}
|