@jirawatpyk/aura-react 4.16.0 → 4.18.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.
package/dist/styles.css CHANGED
@@ -247,6 +247,7 @@ a.aura-btn { text-decoration: none; }
247
247
  .aura-table__pager > span { margin-right: var(--aura-space-2); }
248
248
 
249
249
  /* Icon button — 32px round, icon in the text colour */
250
+ a.aura-icon-btn { text-decoration: none; }
250
251
  .aura-icon-btn {
251
252
  width: var(--aura-control-sm); height: var(--aura-control-sm); flex: none;
252
253
  display: inline-flex; align-items: center; justify-content: center;
@@ -692,7 +693,8 @@ a.aura-btn { text-decoration: none; }
692
693
  .aura-combo__text { flex: 1; min-width: 0; display: flex; flex-direction: column; }
693
694
  .aura-combo__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
694
695
  .aura-combo__desc { font-size: 12px; line-height: 1.5; color: var(--aura-fg-secondary); }
695
- .aura-combo__check { color: var(--aura-fg-accent) !important; }
696
+ /* Same specificity as `.aura-combo__option > .aura-icon` above and later in the file, so it wins by order (4.18). */
697
+ .aura-combo__option > .aura-combo__check { color: var(--aura-fg-accent); }
696
698
  .aura-combo__note { display: flex; align-items: center; gap: var(--aura-space-2); padding: var(--aura-space-3) var(--aura-space-2); font-size: 13px; color: var(--aura-fg-secondary); }
697
699
 
698
700
  /* ---------- DatePicker / Calendar ---------- */
@@ -1147,10 +1149,23 @@ button.aura-stepper__step:hover .aura-stepper__label { text-decoration: underlin
1147
1149
 
1148
1150
  /* Touch screens: bigger targets for days and options. */
1149
1151
  @media (pointer: coarse) {
1150
- .aura-cal { --aura-cal-cell: 40px; }
1152
+ .aura-cal { --aura-cal-cell: var(--aura-touch-target); }
1151
1153
  .aura-combo__option { min-height: 44px; }
1152
- .aura-segmented__option, .aura-segmented--sm .aura-segmented__option { height: 40px; }
1154
+ .aura-segmented__option, .aura-segmented--sm .aura-segmented__option { height: var(--aura-touch-target); }
1153
1155
  .aura-number__step { width: 44px; }
1156
+ /* 4.17: the rest of the controls under 44px on touch screens. */
1157
+ .aura-menu__item { height: var(--aura-touch-target); }
1158
+ .aura-page { min-width: var(--aura-touch-target); height: var(--aura-touch-target); }
1159
+ /* Side by side, each 44px wide (40px tall inside the 44px field), so their targets never overlap. */
1160
+ .aura-combo__clear, .aura-combo__toggle, .aura-date__toggle { width: var(--aura-touch-target); height: 40px; }
1161
+ .aura-combo__toggle, .aura-date__toggle { right: 0; }
1162
+ .aura-combo__clear, .aura-date .aura-combo__clear { right: var(--aura-touch-target); }
1163
+ .aura-combo .aura-input__control, .aura-date .aura-input__control { padding-right: calc(var(--aura-space-1) + 2 * var(--aura-touch-target)); }
1164
+ .aura-combo__clear::after, .aura-combo__toggle::after, .aura-date__toggle::after, .aura-tag__remove::after {
1165
+ content: ''; position: absolute; top: 50%; left: 50%; width: max(100%, var(--aura-touch-target)); height: max(100%, var(--aura-touch-target)); transform: translate(-50%, -50%);
1166
+ }
1167
+ .aura-tag__remove { position: relative; }
1168
+ .aura-combo.is-multi .aura-combo__clear, .aura-combo.is-multi .aura-combo__toggle { top: calc((var(--aura-input-height) - 2px - 40px) / 2); }
1154
1169
  }
1155
1170
 
1156
1171
  /* ---------- Small screens (< 640px) ---------- */
@@ -1160,7 +1175,9 @@ button.aura-stepper__step:hover .aura-stepper__label { text-decoration: underlin
1160
1175
  .aura-stepper--horizontal .aura-stepper__item:not(:last-child)::after { right: 8px; }
1161
1176
  .aura-stepper--horizontal .aura-stepper__compact { display: block; }
1162
1177
  .aura-dialog-layer:not(.aura-drawer-layer) { align-items: flex-end; padding: 0; }
1163
- .aura-dialog { max-width: none !important; max-height: 92vh; border-radius: var(--aura-radius-2xl) var(--aura-radius-2xl) 0 0; border-bottom: 0;
1178
+ /* The size classes set max-width; naming them here outranks them by specificity (4.18). */
1179
+ .aura-dialog.aura-dialog--sm, .aura-dialog.aura-dialog--md, .aura-dialog.aura-dialog--lg { max-width: none; }
1180
+ .aura-dialog { max-height: 92vh; max-height: 92dvh; border-radius: var(--aura-radius-2xl) var(--aura-radius-2xl) 0 0; border-bottom: 0;
1164
1181
  padding-bottom: calc(var(--aura-space-6) + env(safe-area-inset-bottom)); animation-name: aura-sheet-in; }
1165
1182
  .aura-dialog__foot { flex-direction: column-reverse; }
1166
1183
  .aura-dialog__foot > * { width: 100%; }
@@ -1275,6 +1292,7 @@ button.aura-stepper__step:hover .aura-stepper__label { text-decoration: underlin
1275
1292
  flex: none; padding: 2px 6px; border: 1px solid var(--aura-border-default); border-radius: var(--aura-radius-xs);
1276
1293
  font-family: var(--font-mono); font-size: 11px; line-height: 16px; color: var(--aura-fg-secondary); background: var(--aura-bg-canvas);
1277
1294
  }
1295
+ .aura-command__loading { display: flex; align-items: center; gap: var(--aura-space-2); padding: var(--aura-space-2) var(--aura-space-3); font-size: 13px; color: var(--aura-fg-secondary); }
1278
1296
  .aura-command__empty { margin: 0; padding: var(--aura-space-6) var(--aura-space-2); text-align: center; font-size: 14px; color: var(--aura-fg-secondary); }
1279
1297
  .aura-command__foot { display: flex; justify-content: space-between; gap: var(--aura-space-3); padding: var(--aura-space-2) var(--aura-space-4); border-top: 1px solid var(--aura-border-default); font-size: 12px; color: var(--aura-fg-secondary); }
1280
1298
  @media (max-width: 639.98px) {