@carbon/type 10.44.0-rc.0 → 11.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 (78) hide show
  1. package/README.md +2 -6
  2. package/index.scss +7 -7
  3. package/package.json +6 -6
  4. package/scss/_classes.scss +8 -7
  5. package/scss/{modules/_default-type.scss → _default-type.scss} +2 -8
  6. package/scss/_font-family.scss +51 -17
  7. package/scss/_inlined/_classes.scss +8 -7
  8. package/scss/_inlined/_default-type.scss +49 -0
  9. package/scss/_inlined/_font-family.scss +51 -17
  10. package/scss/_inlined/_reset.scss +11 -59
  11. package/scss/_inlined/_scale.scss +13 -15
  12. package/scss/_inlined/_styles.scss +146 -214
  13. package/scss/_reset.scss +11 -59
  14. package/scss/_scale.scss +13 -15
  15. package/scss/_styles.scss +146 -214
  16. package/scss/vendor/@carbon/grid/{modules/_breakpoint.scss → _breakpoint.scss} +1 -1
  17. package/scss/vendor/@carbon/grid/{modules/_config.scss → _config.scss} +1 -1
  18. package/scss/vendor/@carbon/grid/{modules/_css-grid.scss → _css-grid.scss} +0 -0
  19. package/scss/vendor/@carbon/grid/{modules/_flex-grid.scss → _flex-grid.scss} +0 -20
  20. package/scss/vendor/@carbon/grid/_inlined/_breakpoint.scss +198 -0
  21. package/scss/vendor/@carbon/grid/_inlined/_config.scss +94 -0
  22. package/scss/vendor/@carbon/grid/_inlined/_css-grid.scss +470 -0
  23. package/scss/vendor/@carbon/grid/{modules/_mixins.scss → _inlined/_flex-grid.scss} +45 -38
  24. package/scss/vendor/@carbon/grid/_inlined/_mixins.scss +89 -188
  25. package/scss/vendor/@carbon/grid/_mixins.scss +89 -188
  26. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_convert.import.scss +2 -4
  27. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_convert.scss +18 -23
  28. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_spacing.scss +2 -5
  29. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_utilities.scss +4 -4
  30. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_container.scss +13 -43
  31. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_fluid-spacing.scss +11 -35
  32. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_icon-size.scss +8 -17
  33. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_size.scss +1 -1
  34. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_spacing.scss +29 -107
  35. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/modules/_convert.scss +2 -4
  36. package/scss/_inlined/_styles.import.scss +0 -766
  37. package/scss/_inlined/font-face/_mono.scss +0 -1166
  38. package/scss/_inlined/font-face/_sans-condensed.scss +0 -1009
  39. package/scss/_inlined/font-face/_sans.scss +0 -1326
  40. package/scss/_inlined/font-face/_serif.scss +0 -1166
  41. package/scss/_inlined/font-face/_settings.scss +0 -12
  42. package/scss/_styles.import.scss +0 -766
  43. package/scss/font-face/_mono.scss +0 -1166
  44. package/scss/font-face/_sans-condensed.scss +0 -1009
  45. package/scss/font-face/_sans.scss +0 -1326
  46. package/scss/font-face/_serif.scss +0 -1166
  47. package/scss/font-face/_settings.scss +0 -12
  48. package/scss/index.scss +0 -8
  49. package/scss/modules/_classes.scss +0 -42
  50. package/scss/modules/_font-family.scss +0 -104
  51. package/scss/modules/_prefix.scss +0 -11
  52. package/scss/modules/_reset.scss +0 -44
  53. package/scss/modules/_scale.scss +0 -57
  54. package/scss/modules/_styles.scss +0 -876
  55. package/scss/type.scss +0 -8
  56. package/scss/vendor/@carbon/grid/12.scss +0 -41
  57. package/scss/vendor/@carbon/grid/_inlined/12.scss +0 -41
  58. package/scss/vendor/@carbon/grid/_inlined/_mixins.import.scss +0 -431
  59. package/scss/vendor/@carbon/grid/_inlined/_prefix.scss +0 -12
  60. package/scss/vendor/@carbon/grid/_mixins.import.scss +0 -431
  61. package/scss/vendor/@carbon/grid/_prefix.scss +0 -12
  62. package/scss/vendor/@carbon/grid/grid.scss +0 -10
  63. package/scss/vendor/@carbon/grid/index.scss +0 -10
  64. package/scss/vendor/@carbon/grid/vendor/@carbon/import-once/import-once.scss +0 -27
  65. package/scss/vendor/@carbon/grid/vendor/@carbon/import-once/index.scss +0 -8
  66. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_breakpoint.scss +0 -246
  67. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_key-height.import.scss +0 -117
  68. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_key-height.scss +0 -111
  69. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/_mini-unit.scss +0 -23
  70. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/generated/_layout.scss +0 -97
  71. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/index.scss +0 -8
  72. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/layout.scss +0 -12
  73. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/modules/_spacing.scss +0 -9
  74. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/modules/_utilities.scss +0 -41
  75. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/modules/generated/_fluid-spacing.scss +0 -37
  76. package/scss/vendor/@carbon/grid/vendor/@carbon/layout/modules/generated/_spacing.scss +0 -91
  77. package/scss/vendor/@carbon/import-once/import-once.scss +0 -27
  78. package/scss/vendor/@carbon/import-once/index.scss +0 -8
@@ -1,37 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $fluid-spacing-01: 0 !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $fluid-spacing-02: 2vw !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $fluid-spacing-03: 5vw !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $fluid-spacing-04: 10vw !default;
28
-
29
- /// @type Map
30
- /// @access public
31
- /// @group @carbon/layout
32
- $fluid-spacing: (
33
- fluid-spacing-01: $fluid-spacing-01,
34
- fluid-spacing-02: $fluid-spacing-02,
35
- fluid-spacing-03: $fluid-spacing-03,
36
- fluid-spacing-04: $fluid-spacing-04,
37
- );
@@ -1,91 +0,0 @@
1
- // Code generated by @carbon/layout. DO NOT EDIT.
2
- //
3
- // Copyright IBM Corp. 2018, 2019
4
- //
5
- // This source code is licensed under the Apache-2.0 license found in the
6
- // LICENSE file in the root directory of this source tree.
7
- //
8
-
9
- /// @type Number
10
- /// @access public
11
- /// @group @carbon/layout
12
- $spacing-01: 0.125rem !default;
13
-
14
- /// @type Number
15
- /// @access public
16
- /// @group @carbon/layout
17
- $spacing-02: 0.25rem !default;
18
-
19
- /// @type Number
20
- /// @access public
21
- /// @group @carbon/layout
22
- $spacing-03: 0.5rem !default;
23
-
24
- /// @type Number
25
- /// @access public
26
- /// @group @carbon/layout
27
- $spacing-04: 0.75rem !default;
28
-
29
- /// @type Number
30
- /// @access public
31
- /// @group @carbon/layout
32
- $spacing-05: 1rem !default;
33
-
34
- /// @type Number
35
- /// @access public
36
- /// @group @carbon/layout
37
- $spacing-06: 1.5rem !default;
38
-
39
- /// @type Number
40
- /// @access public
41
- /// @group @carbon/layout
42
- $spacing-07: 2rem !default;
43
-
44
- /// @type Number
45
- /// @access public
46
- /// @group @carbon/layout
47
- $spacing-08: 2.5rem !default;
48
-
49
- /// @type Number
50
- /// @access public
51
- /// @group @carbon/layout
52
- $spacing-09: 3rem !default;
53
-
54
- /// @type Number
55
- /// @access public
56
- /// @group @carbon/layout
57
- $spacing-10: 4rem !default;
58
-
59
- /// @type Number
60
- /// @access public
61
- /// @group @carbon/layout
62
- $spacing-11: 5rem !default;
63
-
64
- /// @type Number
65
- /// @access public
66
- /// @group @carbon/layout
67
- $spacing-12: 6rem !default;
68
-
69
- /// @type Number
70
- /// @access public
71
- /// @group @carbon/layout
72
- $spacing-13: 10rem !default;
73
-
74
- /// @type Map
75
- /// @access public
76
- /// @group @carbon/layout
77
- $spacing: (
78
- spacing-01: $spacing-01,
79
- spacing-02: $spacing-02,
80
- spacing-03: $spacing-03,
81
- spacing-04: $spacing-04,
82
- spacing-05: $spacing-05,
83
- spacing-06: $spacing-06,
84
- spacing-07: $spacing-07,
85
- spacing-08: $spacing-08,
86
- spacing-09: $spacing-09,
87
- spacing-10: $spacing-10,
88
- spacing-11: $spacing-11,
89
- spacing-12: $spacing-12,
90
- spacing-13: $spacing-13,
91
- );
@@ -1,27 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
6
- //
7
-
8
- /// Used by `exports` mixin to track which modules have been imported
9
- /// @type Map
10
- /// @access public
11
- /// @group @carbon/import-once
12
- $imported-modules: () !default;
13
-
14
- /// Module export mixin that helps making sure a module is imported once and only once
15
- /// @access public
16
- /// @param {String} $name - Name of exported module
17
- /// @param {Bool} $warn [false] - Warn when a module has been already imported
18
- /// @content Declaration blocks to be imported
19
- /// @group @carbon/import-once
20
- @mixin exports($name, $warn: false) {
21
- @if not(index($imported-modules, $name)) {
22
- $imported-modules: append($imported-modules, $name) !global;
23
- @content;
24
- } @else if $warn == true {
25
- @warn 'Module `#{$name}` has already been imported.';
26
- }
27
- }
@@ -1,8 +0,0 @@
1
- //
2
- // Copyright IBM Corp. 2018, 2018
3
- //
4
- // This source code is licensed under the Apache-2.0 license found in the
5
- // LICENSE file in the root directory of this source tree.
6
- //
7
-
8
- @import 'import-once';