@s_and_a/arrow-ui-design-remix 0.1.8 → 0.1.11
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/covers.generated.d.ts +20 -18
- package/dist/covers.generated.js +20 -18
- package/package.json +2 -2
- package/src/parts/ArAffix.css +6 -0
- package/src/parts/ArAlert.css +3 -0
- package/src/parts/ArAnchor.css +1 -1
- package/src/parts/ArAppHeader.css +3 -2
- package/src/parts/ArApprovalFlow.css +8 -1
- package/src/parts/ArAuthPanel.css +5 -1
- package/src/parts/ArButton.css +14 -1
- package/src/parts/ArCalendar.css +2 -1
- package/src/parts/ArCard.css +24 -11
- package/src/parts/ArChangedValue.css +7 -0
- package/src/parts/ArChoiceCard.css +1 -0
- package/src/parts/ArCollapse.css +3 -0
- package/src/parts/ArDescriptions.css +8 -0
- package/src/parts/ArDocumentBlock.css +2 -0
- package/src/parts/ArDropdown.css +12 -2
- package/src/parts/ArField.css +9 -4
- package/src/parts/ArFlagGroup.css +4 -2
- package/src/parts/ArImage.css +4 -1
- package/src/parts/ArItem.css +9 -0
- package/src/parts/ArKanaInput.css +4 -4
- package/src/parts/ArList.css +2 -2
- package/src/parts/ArMenu.css +3 -1
- package/src/parts/ArModal.css +21 -3
- package/src/parts/ArPageHeading.css +1 -1
- package/src/parts/ArParagraph.css +1 -1
- package/src/parts/ArPayslip.css +10 -2
- package/src/parts/ArProfileCard.css +7 -4
- package/src/parts/ArPunchPanel.css +3 -1
- package/src/parts/ArRichTextEditor.css +1 -1
- package/src/parts/ArSaveBar.css +11 -0
- package/src/parts/ArSectionMenu.css +3 -1
- package/src/parts/ArSegmented.css +7 -0
- package/src/parts/ArStatistic.css +1 -0
- package/src/parts/ArSteps.css +1 -0
- package/src/parts/ArTable.css +21 -18
- package/src/parts/ArTableHeader.css +1 -1
- package/src/parts/ArThumbnail.css +1 -1
- package/src/parts/ArTimeInput.css +1 -1
- package/src/parts/ArTreeSelect.css +1 -1
- package/src/parts/ArUpload.css +2 -4
- package/src/parts/ArWizard.css +13 -1
- package/src/parts/ArZipInput.css +1 -1
- package/src/parts/_choice.css +2 -2
- package/src/parts/_product.css +97 -1
package/src/parts/_product.css
CHANGED
|
@@ -265,7 +265,7 @@
|
|
|
265
265
|
[data-ar-design="remix"] table[data-ui-part="table"] :is(th,td):not([data-ui-fixed], [data-ui-fixed] *) { box-sizing:border-box;padding:10px 12px;border:0;border-bottom:1px solid var(--ar-color-border);vertical-align:middle; }
|
|
266
266
|
[data-ar-design="remix"] table[data-ui-part="table"] th:not([data-ui-fixed], [data-ui-fixed] *) { background:var(--ar-color-bg);font-weight:700;color:var(--ar-color-text-secondary); }
|
|
267
267
|
[data-ar-design="remix"] table[data-ui-part="table"] td:not([data-ui-fixed], [data-ui-fixed] *) { background:var(--ar-color-surface); }
|
|
268
|
-
[data-ar-design="remix"] table[data-ui-part="table"] tbody tr:hover>td:not([data-ui-fixed], [data-ui-fixed] *) { background:var(--ar-accent-subtle); }
|
|
268
|
+
[data-ar-design="remix"] table[data-ui-part="table"] tbody tr:hover:not([data-add-row])>td:not([data-ui-fixed], [data-ui-fixed] *) { background:var(--ar-accent-subtle); }
|
|
269
269
|
[data-ar-design="remix"] table[data-ui-part="table"] tbody tr:last-child>td:not([data-ui-fixed], [data-ui-fixed] *) { border-bottom:0; }
|
|
270
270
|
[data-ar-design="remix"] table[data-ui-part="table"] .sticky_row th:not([data-ui-fixed], [data-ui-fixed] *) { position:sticky;top:0;z-index:2; }
|
|
271
271
|
[data-ar-design="remix"] table[data-ui-part="table"] .sticky_col.col1 :is(th,td):first-child:not([data-ui-fixed], [data-ui-fixed] *) { position:sticky;left:0;z-index:1; }
|
|
@@ -322,3 +322,99 @@
|
|
|
322
322
|
@media(max-width:767px) {
|
|
323
323
|
[data-ar-design="remix"] .login_wrapper:has([data-ar="auth-panel"]):not([data-ui-fixed], [data-ui-fixed] *) { min-height:0;justify-content:flex-start;padding:32px 20px; }
|
|
324
324
|
}
|
|
325
|
+
|
|
326
|
+
/* Legacy table composition follows the same geometry as ArTable. */
|
|
327
|
+
[data-ar-design="remix"] table[data-ui-part="table"] thead>tr:first-child>th:first-child{border-top-left-radius:12px}
|
|
328
|
+
[data-ar-design="remix"] table[data-ui-part="table"] thead>tr:first-child>th:last-child{border-top-right-radius:12px;background:var(--ar-accent-subtle);border-bottom:1px solid var(--ar-color-border)}
|
|
329
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td.button [data-ar="button"]+[data-ar="button"],
|
|
330
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td>[data-ar="button"]+[data-ar="button"]{margin-inline-start:8px}
|
|
331
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td [data-ar="button"][data-icon-only]{min-width:30px;min-height:30px}
|
|
332
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td .no_drag{max-width:100%;min-width:0}
|
|
333
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td .branch_selector_component{width:100%;min-width:0;max-width:100%}
|
|
334
|
+
/* Two 30px actions, their gap, and cell padding must fit even in fixed-layout tables. */
|
|
335
|
+
[data-ar-design="remix"] table[data-ui-part="table"] :is(th,td).button{width:100px;min-width:100px;white-space:nowrap;overflow:visible;position:sticky;right:0;z-index:2}
|
|
336
|
+
[data-ar-design="remix"] table[data-ui-part="table"] th.button{z-index:3}
|
|
337
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td.button:has([data-ar="button"]:nth-of-type(3)){width:138px;min-width:138px}
|
|
338
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td.button .no_drag{max-width:none}
|
|
339
|
+
[data-ar-design="remix"] table[data-ui-part="table"] tbody tr[data-add-row]>td{background:var(--ar-color-surface)}
|
|
340
|
+
[data-ar-design="remix"] [data-ui-part="tableViewport"]{box-sizing:border-box;max-width:100%;min-width:0}
|
|
341
|
+
[data-ar-design="remix"] table[data-ui-part="table"] td p[data-ui-part="text"]{margin:0;line-height:1.6}
|
|
342
|
+
/* Keep sorting tables native: legacy layout used block rows and broke colspan. */
|
|
343
|
+
[data-ar-design="remix"] table[data-ui-part="table"]>tbody.smooth-dnd-container{display:table-row-group!important}
|
|
344
|
+
[data-ar-design="remix"] .sortable_table_component table[data-ui-part="table"]>thead{display:table-header-group}
|
|
345
|
+
@layer arrow-product-layout {
|
|
346
|
+
[data-ar-design="remix"] .sortable_table_component table[data-ui-part="table"]> :is(thead,tbody)>tr{display:table-row!important}
|
|
347
|
+
[data-ar-design="remix"] table[data-ui-part="table"]>tbody.smooth-dnd-container>tr{display:table-row!important}
|
|
348
|
+
}
|
|
349
|
+
/* Shared authentication composition, including narrow viewports and text zoom. */
|
|
350
|
+
[data-ar-design="remix"] .login_wrapper:has([data-ar="auth-panel"]):not([data-ui-fixed], [data-ui-fixed] *){position:relative;isolation:isolate;overflow:clip;background:var(--ar-color-bg);min-height:100dvh}
|
|
351
|
+
[data-ar-design="remix"] .login_wrapper:has([data-ar="auth-panel"])::before{content:"";position:absolute;z-index:-1;pointer-events:none;inset:50% -25% -50%;border-radius:50% 50% 0 0;background:var(--ar-accent-subtle)}
|
|
352
|
+
[data-ar-design="remix"] [data-ar="auth-panel"] .login__languages{border-top:1px solid var(--ar-color-border-subtle);padding-top:12px;margin-top:20px;gap:4px}
|
|
353
|
+
[data-ar-design="remix"] [data-ar="auth-panel"] .login__languages [data-ar="button"]{padding-inline:8px;min-width:0;font-size:12px}
|
|
354
|
+
[data-ar-design="remix"] [data-ar="auth-panel"] .login__languages [aria-pressed="true"]{background:var(--ar-accent-subtle);color:var(--ar-accent-ink)}
|
|
355
|
+
[data-ar-design="remix"] [data-ar="auth-panel"] .reset_demo{flex-wrap:wrap;margin-top:12px}
|
|
356
|
+
[data-ar-design="remix"] [data-ar="auth-panel"] .reset_demo .form__item__data__import__input{flex:1 1 140px}
|
|
357
|
+
[data-ar-design="remix"] [data-ar="auth-panel"] .login__test_note{flex-basis:100%;font-size:11px;line-height:1.5;margin:0}
|
|
358
|
+
[data-ar-design="remix"] .join-introduction{width:100%;max-width:520px;margin:24px auto}
|
|
359
|
+
[data-ar-design="remix"] .login_wrapper .login__version{position:relative;align-self:flex-start;margin:24px 0 0;font-size:10px;line-height:1.5}
|
|
360
|
+
@media(min-width:768px){[data-ar-design="remix"] .login_wrapper .login__version{position:absolute;left:16px;bottom:12px}}
|
|
361
|
+
/* Login app prompt: keep the icon, wrapped name and actions inside narrow viewports. */
|
|
362
|
+
[data-ar-design="remix"] .app_popup[data-v-uibfa8b11a3438]{height:auto;min-height:50px}
|
|
363
|
+
[data-ar-design="remix"] .app_popup_content[data-v-uibfa8b11a3438]{box-sizing:border-box;display:flex;align-items:center;gap:8px;width:100%;padding:8px 12px}
|
|
364
|
+
[data-ar-design="remix"] .app_popup_content .mark_wrap[data-v-uibfa8b11a3438]{flex:none;width:28px;margin:0;padding:0}
|
|
365
|
+
[data-ar-design="remix"] .app_popup_text[data-v-uibfa8b11a3438]{flex:1;min-width:0;padding:0}
|
|
366
|
+
[data-ar-design="remix"] .app_popup_text :is(.app_name,.app_caution)[data-v-uibfa8b11a3438]{font-size:12px;line-height:1.4;overflow-wrap:anywhere}
|
|
367
|
+
[data-ar-design="remix"] .app_button_wrap[data-v-uibfa8b11a3438]{display:flex;align-items:center;gap:4px;flex:none}
|
|
368
|
+
[data-ar-design="remix"] .close_app_button[data-v-uibfa8b11a3438]{display:inline-flex;width:30px;height:30px;margin:0;padding:0;line-height:normal}
|
|
369
|
+
|
|
370
|
+
/* Punch review uses the common stack spacing above its scrollable table. */
|
|
371
|
+
[data-ar-design="remix"] .attendance_table_wrap[data-v-uia097494f994a] { margin-top:0;padding-top:0; }
|
|
372
|
+
[data-ar-design="remix"] .attendance_table_wrap th.branch_id[data-v-uia097494f994a] { min-width:170px; }
|
|
373
|
+
[data-ar-design="remix"] .attendance_table_wrap th.shift.separated[data-v-uia097494f994a] { width:240px;min-width:240px; }
|
|
374
|
+
[data-ar-design="remix"] .attendance_table_wrap th.punch.separated[data-v-uia097494f994a] { width:264px;min-width:264px; }
|
|
375
|
+
|
|
376
|
+
/* Keep this in the utility's layer: important declarations reverse layer order. */
|
|
377
|
+
@layer arrow-product-layout {
|
|
378
|
+
[data-ar-design="remix"] table[data-ui-part="table"] th.n2br {
|
|
379
|
+
white-space: pre !important;
|
|
380
|
+
}
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
/* Opt-in cards preserve field labels and usable inline editors on narrow tables. */
|
|
384
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"]{container:ar-product-responsive-table / inline-size}
|
|
385
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] :is(th,td).name{width:144px;min-width:144px}
|
|
386
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] :is(th,td).is_selection{width:56px;min-width:56px}
|
|
387
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] :is(th,td).init_type{width:200px;min-width:200px}
|
|
388
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.name [data-ar="text-input"]{width:100%;min-width:0}
|
|
389
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.name>:is(.no_drag,.is_drag){max-width:120px}
|
|
390
|
+
@container ar-product-responsive-table (max-width:767px){
|
|
391
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]{display:block;width:100%;min-width:0;table-layout:auto;border:0;background:transparent}
|
|
392
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>thead{display:block;margin-bottom:8px}
|
|
393
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>thead>tr>th{display:none}
|
|
394
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>thead>tr>th:has([data-ar="info"]){display:flex;align-items:center;gap:6px;width:auto;min-width:0;padding:4px 8px;border:0;border-radius:6px;font-size:11px}
|
|
395
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody.smooth-dnd-container{display:grid!important;gap:10px;width:100%;min-width:0}
|
|
396
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr{grid-template-columns:repeat(2,minmax(0,1fr));gap:0;border:1px solid var(--ar-color-border);border-radius:12px;background:var(--ar-color-surface);overflow:hidden}
|
|
397
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr>td:is([data-label],.button,[colspan]){display:flex;align-items:flex-start;justify-content:space-between;gap:8px;width:auto;min-width:0;max-width:none;position:static;padding:8px 12px;border:0;white-space:normal;text-align:left;background:transparent}
|
|
398
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr>td[data-label]::before{content:attr(data-label);flex:1;min-width:0;color:var(--ar-color-text-secondary);font-size:11px;line-height:1.5}
|
|
399
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr>td:is(.name,.paymentgroup_id,.init_type,.button,[colspan]:not([colspan="1"])){grid-column:1/-1}
|
|
400
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr>td:is(.name,.paymentgroup_id,.init_type){flex-direction:column;align-items:stretch;gap:4px}
|
|
401
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr>td.name{background:var(--ar-accent-subtle);font-weight:600}
|
|
402
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr>td.blank{display:none}
|
|
403
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"]>tbody>tr>td.button{justify-content:flex-end;border-top:1px solid var(--ar-color-border-subtle);background:var(--ar-color-surface)}
|
|
404
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.button [data-ar="button"][data-icon-only]{min-width:40px;min-height:40px}
|
|
405
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td:is(.name,.paymentgroup_id,.init_type)>:is(.no_drag,.is_drag){display:block;width:100%;min-width:0;max-width:100%}
|
|
406
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td .drag_icon_wrap{position:static;float:left;margin-right:8px}
|
|
407
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td [data-ar="text-input"]{max-width:100%}
|
|
408
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td:not(.name,.paymentgroup_id,.init_type,.button)>.no_drag{width:auto;flex:none}
|
|
409
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.button>.no_drag{display:flex;justify-content:flex-end;width:100%}
|
|
410
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.name:has(.drag_icon_wrap){position:relative;padding-left:32px}
|
|
411
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.name>.drag_icon_wrap{position:absolute;left:10px;top:12px;margin:0}
|
|
412
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td:is(.name,.paymentgroup_id) :is([data-ar="text-input"],[data-ar="select"],.paymentgroup_selector_component){width:100%;max-width:100%}
|
|
413
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.init_type .row{flex-wrap:wrap;max-width:100%}
|
|
414
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] td.init_type .row:first-child>[data-ar="select"]{width:100%}
|
|
415
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"] table[data-ui-part="table"] tbody>tr:hover>td:not(.name){background:transparent}
|
|
416
|
+
@layer arrow-product-layout {
|
|
417
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"].sortable_table_component table[data-ui-part="table"]>thead>tr{display:flex!important;flex-wrap:wrap;gap:6px}
|
|
418
|
+
[data-ar-design="remix"] [data-ui-responsive="cards"].sortable_table_component table[data-ui-part="table"]>tbody>tr{display:grid!important}
|
|
419
|
+
}
|
|
420
|
+
}
|