@primer/primitives 10.8.0-rc.c5ac4ae1 → 10.8.0-rc.f296f65b
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/dist/css/base/motion/motion.css +4 -4
 - package/dist/css/functional/size/border.css +2 -2
 - package/dist/css/functional/typography/typography.css +11 -11
 - package/dist/css/primitives.css +17 -17
 - package/dist/docs/base/motion/motion.json +48 -32
 - package/dist/docs/base/size/size.json +95 -76
 - package/dist/docs/base/typography/typography.json +12 -8
 - package/dist/docs/functional/size/border.json +42 -28
 - package/dist/docs/functional/size/breakpoints.json +18 -12
 - package/dist/docs/functional/size/size-coarse.json +9 -6
 - package/dist/docs/functional/size/size-fine.json +9 -6
 - package/dist/docs/functional/size/size.json +198 -132
 - package/dist/docs/functional/size/viewport.json +18 -12
 - package/dist/docs/functional/themes/dark-colorblind.json +2472 -1648
 - package/dist/docs/functional/themes/dark-dimmed.json +2472 -1648
 - package/dist/docs/functional/themes/dark-high-contrast.json +2472 -1648
 - package/dist/docs/functional/themes/dark-tritanopia.json +2472 -1648
 - package/dist/docs/functional/themes/dark.json +2472 -1648
 - package/dist/docs/functional/themes/light-colorblind.json +2472 -1648
 - package/dist/docs/functional/themes/light-high-contrast.json +2472 -1648
 - package/dist/docs/functional/themes/light-tritanopia.json +2472 -1648
 - package/dist/docs/functional/themes/light.json +2472 -1648
 - package/dist/docs/functional/typography/typography.json +138 -92
 - package/dist/figma/dimension/dimension.json +19 -19
 - package/dist/internalCss/dark-colorblind.css +4 -4
 - package/dist/internalCss/dark-dimmed.css +4 -4
 - package/dist/internalCss/dark-high-contrast.css +4 -4
 - package/dist/internalCss/dark-tritanopia.css +4 -4
 - package/dist/internalCss/dark.css +4 -4
 - package/dist/internalCss/light-colorblind.css +4 -4
 - package/dist/internalCss/light-high-contrast.css +4 -4
 - package/dist/internalCss/light-tritanopia.css +4 -4
 - package/dist/internalCss/light.css +4 -4
 - package/dist/styleLint/base/motion/motion.json +64 -48
 - package/dist/styleLint/base/size/size.json +114 -95
 - package/dist/styleLint/base/typography/typography.json +16 -12
 - package/dist/styleLint/functional/size/border.json +59 -45
 - package/dist/styleLint/functional/size/breakpoints.json +24 -18
 - package/dist/styleLint/functional/size/size-coarse.json +12 -9
 - package/dist/styleLint/functional/size/size-fine.json +12 -9
 - package/dist/styleLint/functional/size/size.json +264 -198
 - package/dist/styleLint/functional/size/viewport.json +28 -22
 - package/dist/styleLint/functional/themes/dark-colorblind.json +3296 -2472
 - package/dist/styleLint/functional/themes/dark-dimmed.json +3296 -2472
 - package/dist/styleLint/functional/themes/dark-high-contrast.json +3296 -2472
 - package/dist/styleLint/functional/themes/dark-tritanopia.json +3296 -2472
 - package/dist/styleLint/functional/themes/dark.json +3296 -2472
 - package/dist/styleLint/functional/themes/light-colorblind.json +3296 -2472
 - package/dist/styleLint/functional/themes/light-high-contrast.json +3296 -2472
 - package/dist/styleLint/functional/themes/light-tritanopia.json +3296 -2472
 - package/dist/styleLint/functional/themes/light.json +3296 -2472
 - package/dist/styleLint/functional/typography/typography.json +184 -138
 - package/package.json +2 -3
 - package/src/tokens/base/size/size.json5 +19 -19
 
| 
         @@ -1,86 +1,92 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
2 
     | 
    
         
             
              "viewportRange-landscape": {
         
     | 
| 
      
 3 
     | 
    
         
            +
                "key": "{viewportRange.landscape}",
         
     | 
| 
       3 
4 
     | 
    
         
             
                "$value": "(orientation: landscape)",
         
     | 
| 
       4 
5 
     | 
    
         
             
                "$type": "custom-viewportRange",
         
     | 
| 
       5 
6 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/viewport.json5",
         
     | 
| 
       6 
7 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       7 
8 
     | 
    
         
             
                "original": {
         
     | 
| 
       8 
9 
     | 
    
         
             
                  "$value": "(orientation: landscape)",
         
     | 
| 
       9 
     | 
    
         
            -
                  "$type": "custom-viewportRange"
         
     | 
| 
      
 10 
     | 
    
         
            +
                  "$type": "custom-viewportRange",
         
     | 
| 
      
 11 
     | 
    
         
            +
                  "key": "{viewportRange.landscape}"
         
     | 
| 
       10 
12 
     | 
    
         
             
                },
         
     | 
| 
       11 
13 
     | 
    
         
             
                "name": "viewportRange-landscape",
         
     | 
| 
       12 
14 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
       13 
     | 
    
         
            -
                "path": ["viewportRange", "landscape"] 
     | 
| 
       14 
     | 
    
         
            -
                "key": "{viewportRange.landscape}"
         
     | 
| 
      
 15 
     | 
    
         
            +
                "path": ["viewportRange", "landscape"]
         
     | 
| 
       15 
16 
     | 
    
         
             
              },
         
     | 
| 
       16 
17 
     | 
    
         
             
              "viewportRange-narrow": {
         
     | 
| 
       17 
     | 
    
         
            -
                " 
     | 
| 
      
 18 
     | 
    
         
            +
                "key": "{viewportRange.narrow}",
         
     | 
| 
      
 19 
     | 
    
         
            +
                "$value": "(max-width: calc(48rem,768px - 0.02px))",
         
     | 
| 
       18 
20 
     | 
    
         
             
                "$type": "custom-viewportRange",
         
     | 
| 
       19 
21 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/viewport.json5",
         
     | 
| 
       20 
22 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       21 
23 
     | 
    
         
             
                "original": {
         
     | 
| 
       22 
24 
     | 
    
         
             
                  "$value": "(max-width: calc({breakpoint.medium} - 0.02px))",
         
     | 
| 
       23 
     | 
    
         
            -
                  "$type": "custom-viewportRange"
         
     | 
| 
      
 25 
     | 
    
         
            +
                  "$type": "custom-viewportRange",
         
     | 
| 
      
 26 
     | 
    
         
            +
                  "key": "{viewportRange.narrow}"
         
     | 
| 
       24 
27 
     | 
    
         
             
                },
         
     | 
| 
       25 
28 
     | 
    
         
             
                "name": "viewportRange-narrow",
         
     | 
| 
       26 
29 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
       27 
     | 
    
         
            -
                "path": ["viewportRange", "narrow"] 
     | 
| 
       28 
     | 
    
         
            -
                "key": "{viewportRange.narrow}"
         
     | 
| 
      
 30 
     | 
    
         
            +
                "path": ["viewportRange", "narrow"]
         
     | 
| 
       29 
31 
     | 
    
         
             
              },
         
     | 
| 
       30 
32 
     | 
    
         
             
              "viewportRange-narrowLandscape": {
         
     | 
| 
       31 
     | 
    
         
            -
                " 
     | 
| 
      
 33 
     | 
    
         
            +
                "key": "{viewportRange.narrowLandscape}",
         
     | 
| 
      
 34 
     | 
    
         
            +
                "$value": "(max-width: calc(63.25rem,1012px - 0.02px) and (max-height: calc(34rem,544px - 0.02px)) and (orientation: landscape))",
         
     | 
| 
       32 
35 
     | 
    
         
             
                "$type": "custom-viewportRange",
         
     | 
| 
       33 
36 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/viewport.json5",
         
     | 
| 
       34 
37 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       35 
38 
     | 
    
         
             
                "original": {
         
     | 
| 
       36 
39 
     | 
    
         
             
                  "$value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))",
         
     | 
| 
       37 
     | 
    
         
            -
                  "$type": "custom-viewportRange"
         
     | 
| 
      
 40 
     | 
    
         
            +
                  "$type": "custom-viewportRange",
         
     | 
| 
      
 41 
     | 
    
         
            +
                  "key": "{viewportRange.narrowLandscape}"
         
     | 
| 
       38 
42 
     | 
    
         
             
                },
         
     | 
| 
       39 
43 
     | 
    
         
             
                "name": "viewportRange-narrowLandscape",
         
     | 
| 
       40 
44 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
       41 
     | 
    
         
            -
                "path": ["viewportRange", "narrowLandscape"] 
     | 
| 
       42 
     | 
    
         
            -
                "key": "{viewportRange.narrowLandscape}"
         
     | 
| 
      
 45 
     | 
    
         
            +
                "path": ["viewportRange", "narrowLandscape"]
         
     | 
| 
       43 
46 
     | 
    
         
             
              },
         
     | 
| 
       44 
47 
     | 
    
         
             
              "viewportRange-portrait": {
         
     | 
| 
      
 48 
     | 
    
         
            +
                "key": "{viewportRange.portrait}",
         
     | 
| 
       45 
49 
     | 
    
         
             
                "$value": "(orientation: portrait)",
         
     | 
| 
       46 
50 
     | 
    
         
             
                "$type": "custom-viewportRange",
         
     | 
| 
       47 
51 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/viewport.json5",
         
     | 
| 
       48 
52 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       49 
53 
     | 
    
         
             
                "original": {
         
     | 
| 
       50 
54 
     | 
    
         
             
                  "$value": "(orientation: portrait)",
         
     | 
| 
       51 
     | 
    
         
            -
                  "$type": "custom-viewportRange"
         
     | 
| 
      
 55 
     | 
    
         
            +
                  "$type": "custom-viewportRange",
         
     | 
| 
      
 56 
     | 
    
         
            +
                  "key": "{viewportRange.portrait}"
         
     | 
| 
       52 
57 
     | 
    
         
             
                },
         
     | 
| 
       53 
58 
     | 
    
         
             
                "name": "viewportRange-portrait",
         
     | 
| 
       54 
59 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
       55 
     | 
    
         
            -
                "path": ["viewportRange", "portrait"] 
     | 
| 
       56 
     | 
    
         
            -
                "key": "{viewportRange.portrait}"
         
     | 
| 
      
 60 
     | 
    
         
            +
                "path": ["viewportRange", "portrait"]
         
     | 
| 
       57 
61 
     | 
    
         
             
              },
         
     | 
| 
       58 
62 
     | 
    
         
             
              "viewportRange-regular": {
         
     | 
| 
       59 
     | 
    
         
            -
                " 
     | 
| 
      
 63 
     | 
    
         
            +
                "key": "{viewportRange.regular}",
         
     | 
| 
      
 64 
     | 
    
         
            +
                "$value": "(min-width: 48rem,768px)",
         
     | 
| 
       60 
65 
     | 
    
         
             
                "$type": "custom-viewportRange",
         
     | 
| 
       61 
66 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/viewport.json5",
         
     | 
| 
       62 
67 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       63 
68 
     | 
    
         
             
                "original": {
         
     | 
| 
       64 
69 
     | 
    
         
             
                  "$value": "(min-width: {breakpoint.medium})",
         
     | 
| 
       65 
     | 
    
         
            -
                  "$type": "custom-viewportRange"
         
     | 
| 
      
 70 
     | 
    
         
            +
                  "$type": "custom-viewportRange",
         
     | 
| 
      
 71 
     | 
    
         
            +
                  "key": "{viewportRange.regular}"
         
     | 
| 
       66 
72 
     | 
    
         
             
                },
         
     | 
| 
       67 
73 
     | 
    
         
             
                "name": "viewportRange-regular",
         
     | 
| 
       68 
74 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
       69 
     | 
    
         
            -
                "path": ["viewportRange", "regular"] 
     | 
| 
       70 
     | 
    
         
            -
                "key": "{viewportRange.regular}"
         
     | 
| 
      
 75 
     | 
    
         
            +
                "path": ["viewportRange", "regular"]
         
     | 
| 
       71 
76 
     | 
    
         
             
              },
         
     | 
| 
       72 
77 
     | 
    
         
             
              "viewportRange-wide": {
         
     | 
| 
       73 
     | 
    
         
            -
                " 
     | 
| 
      
 78 
     | 
    
         
            +
                "key": "{viewportRange.wide}",
         
     | 
| 
      
 79 
     | 
    
         
            +
                "$value": "(min-width: 87.5rem,1400px)",
         
     | 
| 
       74 
80 
     | 
    
         
             
                "$type": "custom-viewportRange",
         
     | 
| 
       75 
81 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/viewport.json5",
         
     | 
| 
       76 
82 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       77 
83 
     | 
    
         
             
                "original": {
         
     | 
| 
       78 
84 
     | 
    
         
             
                  "$value": "(min-width: {breakpoint.xxlarge})",
         
     | 
| 
       79 
     | 
    
         
            -
                  "$type": "custom-viewportRange"
         
     | 
| 
      
 85 
     | 
    
         
            +
                  "$type": "custom-viewportRange",
         
     | 
| 
      
 86 
     | 
    
         
            +
                  "key": "{viewportRange.wide}"
         
     | 
| 
       80 
87 
     | 
    
         
             
                },
         
     | 
| 
       81 
88 
     | 
    
         
             
                "name": "viewportRange-wide",
         
     | 
| 
       82 
89 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
       83 
     | 
    
         
            -
                "path": ["viewportRange", "wide"] 
     | 
| 
       84 
     | 
    
         
            -
                "key": "{viewportRange.wide}"
         
     | 
| 
      
 90 
     | 
    
         
            +
                "path": ["viewportRange", "wide"]
         
     | 
| 
       85 
91 
     | 
    
         
             
              }
         
     | 
| 
       86 
92 
     | 
    
         
             
            }
         
     |