@primer/primitives 10.5.1-rc.aa2b8f62 → 10.6.0-rc.16836ab4
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/build/platforms/figma.js +4 -4
 - package/dist/build/schemas/dimensionToken.js +1 -0
 - package/dist/build/transformers/fontFamilyToFigma.js +4 -1
 - package/dist/css/functional/themes/dark-colorblind.css +0 -102
 - package/dist/css/functional/themes/dark-dimmed.css +0 -102
 - package/dist/css/functional/themes/dark-high-contrast.css +0 -102
 - package/dist/css/functional/themes/dark-tritanopia.css +0 -102
 - package/dist/css/functional/themes/dark.css +0 -102
 - package/dist/css/functional/themes/light-colorblind.css +0 -102
 - package/dist/css/functional/themes/light-high-contrast.css +0 -102
 - package/dist/css/functional/themes/light-tritanopia.css +0 -102
 - package/dist/css/functional/themes/light.css +0 -102
 - package/dist/docs/functional/size/border.json +78 -6
 - package/dist/docs/functional/themes/dark-colorblind.json +331 -1861
 - package/dist/docs/functional/themes/dark-dimmed.json +331 -1861
 - package/dist/docs/functional/themes/dark-high-contrast.json +331 -1861
 - package/dist/docs/functional/themes/dark-tritanopia.json +331 -1861
 - package/dist/docs/functional/themes/dark.json +331 -1861
 - package/dist/docs/functional/themes/light-colorblind.json +331 -1861
 - package/dist/docs/functional/themes/light-high-contrast.json +331 -1861
 - package/dist/docs/functional/themes/light-tritanopia.json +331 -1861
 - package/dist/docs/functional/themes/light.json +331 -1861
 - package/dist/figma/dimension/dimension.json +61 -0
 - package/dist/figma/themes/dark-colorblind.json +0 -561
 - package/dist/figma/themes/dark-dimmed.json +0 -561
 - package/dist/figma/themes/dark-high-contrast.json +0 -561
 - package/dist/figma/themes/dark-tritanopia.json +0 -561
 - package/dist/figma/themes/dark.json +0 -561
 - package/dist/figma/themes/light-colorblind.json +0 -561
 - package/dist/figma/themes/light-high-contrast.json +0 -561
 - package/dist/figma/themes/light-tritanopia.json +0 -561
 - package/dist/figma/themes/light.json +0 -561
 - package/dist/figma/typography/typography.json +4 -4
 - package/dist/internalCss/dark-colorblind.css +0 -102
 - package/dist/internalCss/dark-dimmed.css +0 -102
 - package/dist/internalCss/dark-high-contrast.css +0 -102
 - package/dist/internalCss/dark-tritanopia.css +0 -102
 - package/dist/internalCss/dark.css +0 -102
 - package/dist/internalCss/light-colorblind.css +0 -102
 - package/dist/internalCss/light-high-contrast.css +0 -102
 - package/dist/internalCss/light-tritanopia.css +0 -102
 - package/dist/internalCss/light.css +0 -102
 - package/dist/styleLint/functional/size/border.json +78 -6
 - package/dist/styleLint/functional/themes/dark-colorblind.json +309 -1839
 - package/dist/styleLint/functional/themes/dark-dimmed.json +309 -1839
 - package/dist/styleLint/functional/themes/dark-high-contrast.json +309 -1839
 - package/dist/styleLint/functional/themes/dark-tritanopia.json +309 -1839
 - package/dist/styleLint/functional/themes/dark.json +309 -1839
 - package/dist/styleLint/functional/themes/light-colorblind.json +309 -1839
 - package/dist/styleLint/functional/themes/light-high-contrast.json +309 -1839
 - package/dist/styleLint/functional/themes/light-tritanopia.json +309 -1839
 - package/dist/styleLint/functional/themes/light.json +309 -1839
 - package/package.json +1 -1
 - package/src/tokens/functional/color/data-vis.json5 +0 -646
 - package/src/tokens/functional/size/border.json5 +36 -0
 
| 
         @@ -162,11 +162,23 @@ 
     | 
|
| 
       162 
162 
     | 
    
         
             
                "type": "dimension"
         
     | 
| 
       163 
163 
     | 
    
         
             
              },
         
     | 
| 
       164 
164 
     | 
    
         
             
              "borderWidth-default": {
         
     | 
| 
      
 165 
     | 
    
         
            +
                "$extensions": {
         
     | 
| 
      
 166 
     | 
    
         
            +
                  "org.primer.figma": {
         
     | 
| 
      
 167 
     | 
    
         
            +
                    "collection": "functional/size",
         
     | 
| 
      
 168 
     | 
    
         
            +
                    "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 169 
     | 
    
         
            +
                  }
         
     | 
| 
      
 170 
     | 
    
         
            +
                },
         
     | 
| 
       165 
171 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/border.json5",
         
     | 
| 
       166 
172 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       167 
173 
     | 
    
         
             
                "original": {
         
     | 
| 
       168 
174 
     | 
    
         
             
                  "$value": "{borderWidth.thin}",
         
     | 
| 
       169 
     | 
    
         
            -
                  "$type": "dimension"
         
     | 
| 
      
 175 
     | 
    
         
            +
                  "$type": "dimension",
         
     | 
| 
      
 176 
     | 
    
         
            +
                  "$extensions": {
         
     | 
| 
      
 177 
     | 
    
         
            +
                    "org.primer.figma": {
         
     | 
| 
      
 178 
     | 
    
         
            +
                      "collection": "functional/size",
         
     | 
| 
      
 179 
     | 
    
         
            +
                      "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 180 
     | 
    
         
            +
                    }
         
     | 
| 
      
 181 
     | 
    
         
            +
                  }
         
     | 
| 
       170 
182 
     | 
    
         
             
                },
         
     | 
| 
       171 
183 
     | 
    
         
             
                "name": "borderWidth-default",
         
     | 
| 
       172 
184 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
         @@ -176,11 +188,23 @@ 
     | 
|
| 
       176 
188 
     | 
    
         
             
                "type": "dimension"
         
     | 
| 
       177 
189 
     | 
    
         
             
              },
         
     | 
| 
       178 
190 
     | 
    
         
             
              "borderWidth-thick": {
         
     | 
| 
      
 191 
     | 
    
         
            +
                "$extensions": {
         
     | 
| 
      
 192 
     | 
    
         
            +
                  "org.primer.figma": {
         
     | 
| 
      
 193 
     | 
    
         
            +
                    "collection": "functional/size",
         
     | 
| 
      
 194 
     | 
    
         
            +
                    "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 195 
     | 
    
         
            +
                  }
         
     | 
| 
      
 196 
     | 
    
         
            +
                },
         
     | 
| 
       179 
197 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/border.json5",
         
     | 
| 
       180 
198 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       181 
199 
     | 
    
         
             
                "original": {
         
     | 
| 
       182 
200 
     | 
    
         
             
                  "$value": "2px",
         
     | 
| 
       183 
     | 
    
         
            -
                  "$type": "dimension"
         
     | 
| 
      
 201 
     | 
    
         
            +
                  "$type": "dimension",
         
     | 
| 
      
 202 
     | 
    
         
            +
                  "$extensions": {
         
     | 
| 
      
 203 
     | 
    
         
            +
                    "org.primer.figma": {
         
     | 
| 
      
 204 
     | 
    
         
            +
                      "collection": "functional/size",
         
     | 
| 
      
 205 
     | 
    
         
            +
                      "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 206 
     | 
    
         
            +
                    }
         
     | 
| 
      
 207 
     | 
    
         
            +
                  }
         
     | 
| 
       184 
208 
     | 
    
         
             
                },
         
     | 
| 
       185 
209 
     | 
    
         
             
                "name": "borderWidth-thick",
         
     | 
| 
       186 
210 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
         @@ -190,11 +214,23 @@ 
     | 
|
| 
       190 
214 
     | 
    
         
             
                "type": "dimension"
         
     | 
| 
       191 
215 
     | 
    
         
             
              },
         
     | 
| 
       192 
216 
     | 
    
         
             
              "borderWidth-thicker": {
         
     | 
| 
      
 217 
     | 
    
         
            +
                "$extensions": {
         
     | 
| 
      
 218 
     | 
    
         
            +
                  "org.primer.figma": {
         
     | 
| 
      
 219 
     | 
    
         
            +
                    "collection": "functional/size",
         
     | 
| 
      
 220 
     | 
    
         
            +
                    "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 221 
     | 
    
         
            +
                  }
         
     | 
| 
      
 222 
     | 
    
         
            +
                },
         
     | 
| 
       193 
223 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/border.json5",
         
     | 
| 
       194 
224 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       195 
225 
     | 
    
         
             
                "original": {
         
     | 
| 
       196 
226 
     | 
    
         
             
                  "$value": "4px",
         
     | 
| 
       197 
     | 
    
         
            -
                  "$type": "dimension"
         
     | 
| 
      
 227 
     | 
    
         
            +
                  "$type": "dimension",
         
     | 
| 
      
 228 
     | 
    
         
            +
                  "$extensions": {
         
     | 
| 
      
 229 
     | 
    
         
            +
                    "org.primer.figma": {
         
     | 
| 
      
 230 
     | 
    
         
            +
                      "collection": "functional/size",
         
     | 
| 
      
 231 
     | 
    
         
            +
                      "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 232 
     | 
    
         
            +
                    }
         
     | 
| 
      
 233 
     | 
    
         
            +
                  }
         
     | 
| 
       198 
234 
     | 
    
         
             
                },
         
     | 
| 
       199 
235 
     | 
    
         
             
                "name": "borderWidth-thicker",
         
     | 
| 
       200 
236 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
         @@ -204,11 +240,23 @@ 
     | 
|
| 
       204 
240 
     | 
    
         
             
                "type": "dimension"
         
     | 
| 
       205 
241 
     | 
    
         
             
              },
         
     | 
| 
       206 
242 
     | 
    
         
             
              "borderWidth-thin": {
         
     | 
| 
      
 243 
     | 
    
         
            +
                "$extensions": {
         
     | 
| 
      
 244 
     | 
    
         
            +
                  "org.primer.figma": {
         
     | 
| 
      
 245 
     | 
    
         
            +
                    "collection": "functional/size",
         
     | 
| 
      
 246 
     | 
    
         
            +
                    "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 247 
     | 
    
         
            +
                  }
         
     | 
| 
      
 248 
     | 
    
         
            +
                },
         
     | 
| 
       207 
249 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/border.json5",
         
     | 
| 
       208 
250 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       209 
251 
     | 
    
         
             
                "original": {
         
     | 
| 
       210 
252 
     | 
    
         
             
                  "$value": "1px",
         
     | 
| 
       211 
     | 
    
         
            -
                  "$type": "dimension"
         
     | 
| 
      
 253 
     | 
    
         
            +
                  "$type": "dimension",
         
     | 
| 
      
 254 
     | 
    
         
            +
                  "$extensions": {
         
     | 
| 
      
 255 
     | 
    
         
            +
                    "org.primer.figma": {
         
     | 
| 
      
 256 
     | 
    
         
            +
                      "collection": "functional/size",
         
     | 
| 
      
 257 
     | 
    
         
            +
                      "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 258 
     | 
    
         
            +
                    }
         
     | 
| 
      
 259 
     | 
    
         
            +
                  }
         
     | 
| 
       212 
260 
     | 
    
         
             
                },
         
     | 
| 
       213 
261 
     | 
    
         
             
                "name": "borderWidth-thin",
         
     | 
| 
       214 
262 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
         @@ -262,11 +310,23 @@ 
     | 
|
| 
       262 
310 
     | 
    
         
             
                "description": "Thin shadow for borders"
         
     | 
| 
       263 
311 
     | 
    
         
             
              },
         
     | 
| 
       264 
312 
     | 
    
         
             
              "outline-focus-offset": {
         
     | 
| 
      
 313 
     | 
    
         
            +
                "$extensions": {
         
     | 
| 
      
 314 
     | 
    
         
            +
                  "org.primer.figma": {
         
     | 
| 
      
 315 
     | 
    
         
            +
                    "collection": "functional/size",
         
     | 
| 
      
 316 
     | 
    
         
            +
                    "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 317 
     | 
    
         
            +
                  }
         
     | 
| 
      
 318 
     | 
    
         
            +
                },
         
     | 
| 
       265 
319 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/border.json5",
         
     | 
| 
       266 
320 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       267 
321 
     | 
    
         
             
                "original": {
         
     | 
| 
       268 
322 
     | 
    
         
             
                  "$value": "-2px",
         
     | 
| 
       269 
     | 
    
         
            -
                  "$type": "dimension"
         
     | 
| 
      
 323 
     | 
    
         
            +
                  "$type": "dimension",
         
     | 
| 
      
 324 
     | 
    
         
            +
                  "$extensions": {
         
     | 
| 
      
 325 
     | 
    
         
            +
                    "org.primer.figma": {
         
     | 
| 
      
 326 
     | 
    
         
            +
                      "collection": "functional/size",
         
     | 
| 
      
 327 
     | 
    
         
            +
                      "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 328 
     | 
    
         
            +
                    }
         
     | 
| 
      
 329 
     | 
    
         
            +
                  }
         
     | 
| 
       270 
330 
     | 
    
         
             
                },
         
     | 
| 
       271 
331 
     | 
    
         
             
                "name": "outline-focus-offset",
         
     | 
| 
       272 
332 
     | 
    
         
             
                "attributes": {},
         
     | 
| 
         @@ -276,11 +336,23 @@ 
     | 
|
| 
       276 
336 
     | 
    
         
             
                "type": "dimension"
         
     | 
| 
       277 
337 
     | 
    
         
             
              },
         
     | 
| 
       278 
338 
     | 
    
         
             
              "outline-focus-width": {
         
     | 
| 
      
 339 
     | 
    
         
            +
                "$extensions": {
         
     | 
| 
      
 340 
     | 
    
         
            +
                  "org.primer.figma": {
         
     | 
| 
      
 341 
     | 
    
         
            +
                    "collection": "functional/size",
         
     | 
| 
      
 342 
     | 
    
         
            +
                    "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 343 
     | 
    
         
            +
                  }
         
     | 
| 
      
 344 
     | 
    
         
            +
                },
         
     | 
| 
       279 
345 
     | 
    
         
             
                "filePath": "src/tokens/functional/size/border.json5",
         
     | 
| 
       280 
346 
     | 
    
         
             
                "isSource": true,
         
     | 
| 
       281 
347 
     | 
    
         
             
                "original": {
         
     | 
| 
       282 
348 
     | 
    
         
             
                  "$value": "2px",
         
     | 
| 
       283 
     | 
    
         
            -
                  "$type": "dimension"
         
     | 
| 
      
 349 
     | 
    
         
            +
                  "$type": "dimension",
         
     | 
| 
      
 350 
     | 
    
         
            +
                  "$extensions": {
         
     | 
| 
      
 351 
     | 
    
         
            +
                    "org.primer.figma": {
         
     | 
| 
      
 352 
     | 
    
         
            +
                      "collection": "functional/size",
         
     | 
| 
      
 353 
     | 
    
         
            +
                      "scopes": ["borderWidth", "effectFloat"]
         
     | 
| 
      
 354 
     | 
    
         
            +
                    }
         
     | 
| 
      
 355 
     | 
    
         
            +
                  }
         
     | 
| 
       284 
356 
     | 
    
         
             
                },
         
     | 
| 
       285 
357 
     | 
    
         
             
                "name": "outline-focus-width",
         
     | 
| 
       286 
358 
     | 
    
         
             
                "attributes": {},
         
     |