@kjun-ui/native 0.4.1 → 0.4.2

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 (2) hide show
  1. package/dist/styles.css +13 -13
  2. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -4918,16 +4918,16 @@
4918
4918
  cursor: not-allowed;
4919
4919
  }
4920
4920
  /* Narrow groups scroll; the clipped edge fades so a cut option reads as more content. Vue keeps its ds- root class. */
4921
- :is(.kjun-button-group, .ds-button-group) { scrollbar-width: none; }
4922
- :is(.kjun-button-group, .ds-button-group)[data-overflow="end"] {
4921
+ :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-button-group, .ds-button-group), :is(.kjun-button-group, .ds-button-group):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) { scrollbar-width: none; }
4922
+ :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-button-group, .ds-button-group)[data-overflow="end"], :is(.kjun-button-group, .ds-button-group)[data-overflow="end"]:where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) {
4923
4923
  -webkit-mask-image: linear-gradient(to right, currentColor calc(100% - var(--extension-scroll-fade-width)), transparent);
4924
4924
  mask-image: linear-gradient(to right, currentColor calc(100% - var(--extension-scroll-fade-width)), transparent);
4925
4925
  }
4926
- :is(.kjun-button-group, .ds-button-group)[data-overflow="start"] {
4926
+ :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-button-group, .ds-button-group)[data-overflow="start"], :is(.kjun-button-group, .ds-button-group)[data-overflow="start"]:where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) {
4927
4927
  -webkit-mask-image: linear-gradient(to right, transparent, currentColor var(--extension-scroll-fade-width));
4928
4928
  mask-image: linear-gradient(to right, transparent, currentColor var(--extension-scroll-fade-width));
4929
4929
  }
4930
- :is(.kjun-button-group, .ds-button-group)[data-overflow="both"] {
4930
+ :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-button-group, .ds-button-group)[data-overflow="both"], :is(.kjun-button-group, .ds-button-group)[data-overflow="both"]:where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) {
4931
4931
  -webkit-mask-image: linear-gradient(to right, transparent, currentColor var(--extension-scroll-fade-width), currentColor calc(100% - var(--extension-scroll-fade-width)), transparent);
4932
4932
  mask-image: linear-gradient(to right, transparent, currentColor var(--extension-scroll-fade-width), currentColor calc(100% - var(--extension-scroll-fade-width)), transparent);
4933
4933
  }
@@ -7293,11 +7293,11 @@
7293
7293
  .kjun-chip button:hover{background:var(--_kjun-color-hover)}
7294
7294
  .kjun-chip[data-disabled=true]{opacity:var(--_kjun-state-opacity-disabled)}
7295
7295
  /* Links and page buttons use the system ring instead of the browser default; Vue Breadcrumb and Pagination use their own ds- classes. */
7296
- .kjun-scope :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-chip button,.kjun-breadcrumb a,.ds-breadcrumb-link,.kjun-external-link,.ds-pagination-button):focus-visible{outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
7296
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-chip button,.kjun-breadcrumb a,.ds-breadcrumb-link,.kjun-external-link,.ds-pagination-button):focus-visible,.kjun-scope :is(.kjun-list-main,.kjun-bottom-navigation a,.kjun-chip button,.kjun-breadcrumb a,.ds-breadcrumb-link,.kjun-external-link,.ds-pagination-button):focus-visible:where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]){outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
7297
7297
  /* Kept out of the :is() above: its :not() would raise that whole rule over the inset overrides below. */
7298
7298
  .kjun-scope .kjun-pagination button:not(.kjun-select-trigger):focus-visible{outline:var(--_kjun-state-focus-width) solid var(--_kjun-color-focus-ring);outline-offset:var(--_kjun-state-focus-offset)}
7299
7299
  /* Inline text links round the ring so it does not box the glyphs. */
7300
- .kjun-scope :is(.kjun-breadcrumb a,.ds-breadcrumb-link,.kjun-external-link):focus-visible{border-radius:var(--_kjun-geometry-radius-radius4)}
7300
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-breadcrumb a,.ds-breadcrumb-link,.kjun-external-link):focus-visible,.kjun-scope :is(.kjun-breadcrumb a,.ds-breadcrumb-link,.kjun-external-link):focus-visible:where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]){border-radius:var(--_kjun-geometry-radius-radius4)}
7301
7301
  /* Draw the removal ring inside its circle so it stays within the chip outline and clear of the label. */
7302
7302
  .kjun-scope .kjun-chip button:focus-visible{outline-offset:var(--_kjun-state-focus-inset-offset)}
7303
7303
  /* Bottom bars meet the screen edges, so their items draw the ring inside, like tabs. */
@@ -7695,14 +7695,14 @@
7695
7695
  .kjun-scope .kjun-kpi-row .kjun-kpi-row__item .kjun-kpi-row__value--text,
7696
7696
  .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) .ds-kpi-row .ds-kpi-row__item .ds-kpi-row__value--text,
7697
7697
  .kjun-scope .ds-kpi-row:where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) .ds-kpi-row__item .ds-kpi-row__value--text { font-size:var(--_kjun-type-body-size); line-height:var(--_kjun-type-body-line); font-weight:var(--_kjun-type-body-weight); letter-spacing:var(--_kjun-type-body-tracking); }
7698
- .kjun-scope :is(.kjun-kpi-row__badge,.ds-kpi-row__badge,.kjun-kpi-hero__sec-label,.ds-kpi-hero__sec-label) { white-space:normal; overflow-wrap:anywhere; }
7698
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-kpi-row__badge,.ds-kpi-row__badge,.kjun-kpi-hero__sec-label,.ds-kpi-hero__sec-label),.kjun-scope :is(.kjun-kpi-row__badge,.ds-kpi-row__badge,.kjun-kpi-hero__sec-label,.ds-kpi-hero__sec-label):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) { white-space:normal; overflow-wrap:anywhere; }
7699
7699
 
7700
- .kjun-scope :is(.kjun-kpi-hero__sec-affix,.ds-kpi-hero__sec-affix,.kjun-number-affix,.ds-animated-number__affix) { font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); }
7700
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-kpi-hero__sec-affix,.ds-kpi-hero__sec-affix,.kjun-number-affix,.ds-animated-number__affix),.kjun-scope :is(.kjun-kpi-hero__sec-affix,.ds-kpi-hero__sec-affix,.kjun-number-affix,.ds-animated-number__affix):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) { font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); }
7701
7701
 
7702
- .kjun-scope :is(.kjun-kpi-hero,.ds-kpi-hero,.kjun-kpi-row,.ds-kpi-row) { min-width:0; overflow-wrap:anywhere; }
7703
- .kjun-scope :is(.kjun-kpi-hero__value,.ds-kpi-hero__value,.kjun-kpi-hero__sec-value,.ds-kpi-hero__sec-value,.kjun-kpi-row__value,.ds-kpi-row__value) { min-width:0; overflow-wrap:anywhere; }
7704
- .kjun-scope :is(.kjun-kpi-hero__secondary,.ds-kpi-hero__secondary) { min-width:0; }
7705
- .kjun-scope :is(.kjun-badge,.ds-badge) { max-width:100%; min-width:0; overflow-wrap:anywhere; }
7702
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-kpi-hero,.ds-kpi-hero,.kjun-kpi-row,.ds-kpi-row),.kjun-scope :is(.kjun-kpi-hero,.ds-kpi-hero,.kjun-kpi-row,.ds-kpi-row):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) { min-width:0; overflow-wrap:anywhere; }
7703
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-kpi-hero__value,.ds-kpi-hero__value,.kjun-kpi-hero__sec-value,.ds-kpi-hero__sec-value,.kjun-kpi-row__value,.ds-kpi-row__value),.kjun-scope :is(.kjun-kpi-hero__value,.ds-kpi-hero__value,.kjun-kpi-hero__sec-value,.ds-kpi-hero__sec-value,.kjun-kpi-row__value,.ds-kpi-row__value):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) { min-width:0; overflow-wrap:anywhere; }
7704
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-kpi-hero__secondary,.ds-kpi-hero__secondary),.kjun-scope :is(.kjun-kpi-hero__secondary,.ds-kpi-hero__secondary):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) { min-width:0; }
7705
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-badge,.ds-badge),.kjun-scope :is(.kjun-badge,.ds-badge):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) { max-width:100%; min-width:0; overflow-wrap:anywhere; }
7706
7706
 
7707
7707
  .kjun-scope .kjun-kpi-hero__delta-line .kjun-number-affix,
7708
7708
  .kjun-scope .ds-kpi-hero__delta-line .kjun-number-affix { font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking); }
@@ -7710,7 +7710,7 @@
7710
7710
  .kjun-scope .kjun-kpi-row .kjun-kpi-row__value--text .kjun-kpi-row__affix,
7711
7711
  .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) .ds-kpi-row .ds-kpi-row__value--text .ds-kpi-row__affix,
7712
7712
  .kjun-scope .ds-kpi-row:where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) .ds-kpi-row__value--text .ds-kpi-row__affix { font-size:var(--_kjun-type-caption-size); line-height:var(--_kjun-type-caption-line); font-weight:var(--_kjun-type-caption-weight); letter-spacing:var(--_kjun-type-caption-tracking); }
7713
- .kjun-scope :is(.kjun-kpi-row__value--text, .ds-kpi-row__value--text) :is(.kjun-animated-number, .ds-animated-number) {
7713
+ .kjun-scope :where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-kpi-row__value--text, .ds-kpi-row__value--text) :is(.kjun-animated-number, .ds-animated-number), .kjun-scope :is(.kjun-kpi-row__value--text, .ds-kpi-row__value--text):where([class*="kjun-"]:not(.kjun-scope), .kjun-scope[class*=" kjun-"]) :is(.kjun-animated-number, .ds-animated-number) {
7714
7714
  font-family: var(--kjun-font);
7715
7715
  font-variant-numeric: normal;
7716
7716
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kjun-ui/native",
3
- "version": "0.4.1",
3
+ "version": "0.4.2",
4
4
  "license": "MIT",
5
5
  "homepage": "https://ui.kjun.dev",
6
6
  "repository": {
@@ -47,8 +47,8 @@
47
47
  "./package.json": "./package.json"
48
48
  },
49
49
  "dependencies": {
50
- "@kjun-ui/tokens": "0.4.1",
51
- "@kjun-ui/icons": "0.4.1"
50
+ "@kjun-ui/tokens": "0.4.2",
51
+ "@kjun-ui/icons": "0.4.2"
52
52
  },
53
53
  "peerDependencies": {
54
54
  "react": "^19.2.3",