@primer/react 38.20.0-rc.db99a7323 → 38.20.0-rc.eff329971

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/CHANGELOG.md CHANGED
@@ -10,6 +10,8 @@
10
10
 
11
11
  - [#7738](https://github.com/primer/react/pull/7738) [`f5f2869`](https://github.com/primer/react/commit/f5f28691d9e5c9f8495e8c592635d2b616f7cb49) Thanks [@francinelucca](https://github.com/francinelucca)! - ActionMenu, Table: Fix component mutation issue where `Object.assign` was modifying original `@primer/react` components. Now uses wrapper components to avoid side effects.
12
12
 
13
+ - [#7746](https://github.com/primer/react/pull/7746) [`30206c4`](https://github.com/primer/react/commit/30206c4fab92de8888f3f103f9b05bff96fdc1b9) Thanks [@jonrohan](https://github.com/jonrohan)! - Update TokenTextContainer `line-height` to use primer primitives CSS variable `var(--base-text-lineHeight-normal)`
14
+
13
15
  ## 38.19.0
14
16
 
15
17
  ### Minor Changes
@@ -0,0 +1,2 @@
1
+ .prc-Token-TokenTextContainer-cOUaD{background:transparent;border:none;color:inherit;color:currentColor;flex-grow:1;font:inherit;line-height:var(--base-text-lineHeight-normal,1.5);margin:0;min-width:0;overflow:hidden;padding:0;-webkit-text-decoration:none;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;width:auto;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;appearance:none}.prc-Token-TokenTextContainer-cOUaD:is(a,button,[tabIndex="0"]){cursor:pointer}.prc-Token-TokenTextContainer-cOUaD:is(a,button,[tabIndex="0"]):after{bottom:0;content:"";left:0;position:absolute;right:0;top:0}
2
+ /*# sourceMappingURL=_TokenTextContainer-55ce2de3.css.map */
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/Token/_TokenTextContainer.module.css.js"],"names":[],"mappings":"AAAA,oCAiBE,sBAAuB,CACvB,WAAY,CAVZ,aAAc,CAGd,kBAAmB,CAQnB,WAAY,CAbZ,YAAa,CACb,kDAA+C,CAH/C,QAAS,CAFT,WAAY,CAGZ,eAAgB,CAFhB,SAAU,CASV,4BAAqB,CAArB,oBAAqB,CACrB,sBAAuB,CACvB,kBAAmB,CAbnB,UAAW,CAmBX,8BAA+B,CAC/B,+BAAgC,CAChC,eACF,CAOA,gEACE,cACF,CAOA,sEAIE,QAAS,CAET,UAAW,CADX,MAAO,CAJP,iBAAkB,CAElB,OAAQ,CADR,KAKF","file":"_TokenTextContainer-55ce2de3.css","sourcesContent":[".TokenTextContainer {\n width: auto;\n min-width: 0;\n padding: 0;\n margin: 0;\n overflow: hidden;\n font: inherit;\n line-height: var(--base-text-lineHeight-normal);\n color: inherit;\n\n /* reset anchor styles */\n color: currentColor;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n /* reset button styles, make the cursor a pointer, and add line-height */\n background: transparent;\n border: none;\n flex-grow: 1;\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n appearance: none;\n}\n\n/* Position psuedo-element above text content, but below the\n remove button.\n This ensures the <a> or <button> receives the click no\n matter where on the token the user clicks. */\n/* stylelint-disable-next-line selector-max-type, selector-no-qualifying-type */\n.TokenTextContainer:is(a, button, [tabIndex='0']) {\n cursor: pointer;\n}\n\n/* Position psuedo-element above text content, but below the\n remove button.\n This ensures the <a> or <button> receives the click no\n matter where on the token the user clicks. */\n/* stylelint-disable-next-line selector-max-type, selector-no-qualifying-type */\n.TokenTextContainer:is(a, button, [tabIndex='0'])::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n content: '';\n}\n"]}
@@ -1,4 +1,4 @@
1
- import './_TokenTextContainer-24678fbc.css';
1
+ import './_TokenTextContainer-55ce2de3.css';
2
2
 
3
3
  var classes = {"TokenTextContainer":"prc-Token-TokenTextContainer-cOUaD"};
4
4
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@primer/react",
3
3
  "type": "module",
4
- "version": "38.20.0-rc.db99a7323",
4
+ "version": "38.20.0-rc.eff329971",
5
5
  "description": "An implementation of GitHub's Primer Design System using React",
6
6
  "main": "./dist/index.js",
7
7
  "module": "./dist/index.js",
@@ -1,2 +0,0 @@
1
- .prc-Token-TokenTextContainer-cOUaD{background:transparent;border:none;color:inherit;color:currentColor;flex-grow:1;font:inherit;line-height:normal;margin:0;min-width:0;overflow:hidden;padding:0;-webkit-text-decoration:none;text-decoration:none;text-overflow:ellipsis;white-space:nowrap;width:auto;-webkit-font-smoothing:inherit;-moz-osx-font-smoothing:inherit;appearance:none}.prc-Token-TokenTextContainer-cOUaD:is(a,button,[tabIndex="0"]){cursor:pointer}.prc-Token-TokenTextContainer-cOUaD:is(a,button,[tabIndex="0"]):after{bottom:0;content:"";left:0;position:absolute;right:0;top:0}
2
- /*# sourceMappingURL=_TokenTextContainer-24678fbc.css.map */
@@ -1 +0,0 @@
1
- {"version":3,"sources":["../src/Token/_TokenTextContainer.module.css.js"],"names":[],"mappings":"AAAA,oCAkBE,sBAAuB,CACvB,WAAY,CAVZ,aAAc,CAGd,kBAAmB,CAQnB,WAAY,CAdZ,YAAa,CAEb,kBAAmB,CAJnB,QAAS,CAFT,WAAY,CAGZ,eAAgB,CAFhB,SAAU,CAUV,4BAAqB,CAArB,oBAAqB,CACrB,sBAAuB,CACvB,kBAAmB,CAdnB,UAAW,CAoBX,8BAA+B,CAC/B,+BAAgC,CAChC,eACF,CAOA,gEACE,cACF,CAOA,sEAIE,QAAS,CAET,UAAW,CADX,MAAO,CAJP,iBAAkB,CAElB,OAAQ,CADR,KAKF","file":"_TokenTextContainer-24678fbc.css","sourcesContent":[".TokenTextContainer {\n width: auto;\n min-width: 0;\n padding: 0;\n margin: 0;\n overflow: hidden;\n font: inherit;\n /* stylelint-disable-next-line primer/typography */\n line-height: normal;\n color: inherit;\n\n /* reset anchor styles */\n color: currentColor;\n text-decoration: none;\n text-overflow: ellipsis;\n white-space: nowrap;\n\n /* reset button styles, make the cursor a pointer, and add line-height */\n background: transparent;\n border: none;\n flex-grow: 1;\n -webkit-font-smoothing: inherit;\n -moz-osx-font-smoothing: inherit;\n appearance: none;\n}\n\n/* Position psuedo-element above text content, but below the\n remove button.\n This ensures the <a> or <button> receives the click no\n matter where on the token the user clicks. */\n/* stylelint-disable-next-line selector-max-type, selector-no-qualifying-type */\n.TokenTextContainer:is(a, button, [tabIndex='0']) {\n cursor: pointer;\n}\n\n/* Position psuedo-element above text content, but below the\n remove button.\n This ensures the <a> or <button> receives the click no\n matter where on the token the user clicks. */\n/* stylelint-disable-next-line selector-max-type, selector-no-qualifying-type */\n.TokenTextContainer:is(a, button, [tabIndex='0'])::after {\n position: absolute;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n content: '';\n}\n"]}