@objectivex666/dsh-settings-search 1.1.0 → 1.1.1

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.
@@ -46,14 +46,13 @@ return {
46
46
 
47
47
  styles.insert(`
48
48
  .sss-wrap { position: relative; display: flex; flex-direction: column; gap: 8px; }
49
- .sss-title { font-size: 16px; font-weight: 500; line-height: 24px; }
50
- .sss-box { position: relative; display: flex; align-items: center; }
51
- .sss-icon { position: absolute; left: 9px; display: block; opacity: .6; pointer-events: none; }
52
- .sss-input { width: 100%; box-sizing: border-box; padding: 6px 26px 6px 28px; border-radius: 8px; border: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-layer-1); color: var(--dsw-alias-label-primary); font-size: 13px; line-height: 20px; outline: none; }
53
- .sss-input:focus { border-color: var(--dsw-alias-brand-primary); }
54
- .sss-input::placeholder { color: var(--dsw-alias-label-secondary); opacity: .8; }
55
- .sss-clear { position: absolute; right: 6px; border: none; background: none; color: var(--dsw-alias-label-secondary); cursor: pointer; font-size: 11px; padding: 2px 4px; }
56
- .sss-clear:hover { color: var(--dsw-alias-label-primary); }
49
+ .sss-title { font-size: 16px; font-weight: 600; line-height: 24px; color: var(--dsw-alias-label-primary); }
50
+ .sss-box { display: flex; align-items: center; gap: 6px; width: 100%; box-sizing: border-box; height: 32px; padding: 0 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: var(--dsw-alias-bg-layer-1); }
51
+ .sss-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; color: var(--dsw-alias-label-tertiary); }
52
+ .sss-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 14px; line-height: 22px; color: var(--dsw-alias-label-primary); }
53
+ .sss-input::placeholder { color: var(--dsw-alias-label-dimmed); }
54
+ .sss-clear { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border: none; border-radius: 4px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: 12px; line-height: 1; cursor: pointer; }
55
+ .sss-clear:hover { color: var(--dsw-alias-label-primary); background: var(--dsw-alias-interactive-bg-hover); }
57
56
  .sss-pop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; background: var(--dsw-alias-bg-overlay); border: 1px solid var(--dsw-alias-border-l1); border-radius: 10px; box-shadow: var(--dsw-shadow-lv3); padding: 6px; max-height: 300px; overflow: auto; }
58
57
  .sss-groups { display: flex; flex-direction: column; gap: 8px; }
59
58
  .sss-group-title { font-size: 11px; color: var(--dsw-alias-label-secondary); letter-spacing: .05em; padding: 2px 6px; }
@@ -82,8 +81,8 @@ return {
82
81
  const SearchIcon = React.createElement('svg', {
83
82
  className: 'sss-icon',
84
83
  viewBox: '0 0 16.5 16.5',
85
- width: 13,
86
- height: 13,
84
+ width: 16,
85
+ height: 16,
87
86
  xmlns: 'http://www.w3.org/2000/svg',
88
87
  'aria-hidden': 'true',
89
88
  }, [
package/lib/client.js CHANGED
@@ -45,14 +45,13 @@ window.__ModuleLoader__.load({
45
45
 
46
46
  const CSS = `
47
47
  .sss-wrap { position: relative; display: flex; flex-direction: column; gap: 8px; }
48
- .sss-title { font-size: 16px; font-weight: 500; line-height: 24px; }
49
- .sss-box { position: relative; display: flex; align-items: center; }
50
- .sss-icon { position: absolute; left: 9px; display: block; opacity: .6; pointer-events: none; }
51
- .sss-input { width: 100%; box-sizing: border-box; padding: 6px 26px 6px 28px; border-radius: 8px; border: 1px solid var(--dsw-alias-border-l1); background: var(--dsw-alias-bg-layer-1); color: var(--dsw-alias-label-primary); font-size: 13px; line-height: 20px; outline: none; }
52
- .sss-input:focus { border-color: var(--dsw-alias-brand-primary); }
53
- .sss-input::placeholder { color: var(--dsw-alias-label-secondary); opacity: .8; }
54
- .sss-clear { position: absolute; right: 6px; border: none; background: none; color: var(--dsw-alias-label-secondary); cursor: pointer; font-size: 11px; padding: 2px 4px; }
55
- .sss-clear:hover { color: var(--dsw-alias-label-primary); }
48
+ .sss-title { font-size: 16px; font-weight: 600; line-height: 24px; color: var(--dsw-alias-label-primary); }
49
+ .sss-box { display: flex; align-items: center; gap: 6px; width: 100%; box-sizing: border-box; height: 32px; padding: 0 8px; border: 1px solid var(--dsw-alias-border-l2); border-radius: 8px; background: var(--dsw-alias-bg-layer-1); }
50
+ .sss-icon { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 16px; height: 16px; color: var(--dsw-alias-label-tertiary); }
51
+ .sss-input { flex: 1; min-width: 0; border: none; outline: none; background: transparent; font-size: 14px; line-height: 22px; color: var(--dsw-alias-label-primary); }
52
+ .sss-input::placeholder { color: var(--dsw-alias-label-dimmed); }
53
+ .sss-clear { flex: none; display: inline-flex; align-items: center; justify-content: center; width: 18px; height: 18px; padding: 0; border: none; border-radius: 4px; background: transparent; color: var(--dsw-alias-label-secondary); font-size: 12px; line-height: 1; cursor: pointer; }
54
+ .sss-clear:hover { color: var(--dsw-alias-label-primary); background: var(--dsw-alias-interactive-bg-hover); }
56
55
  .sss-pop { position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 20; background: var(--dsw-alias-bg-overlay); border: 1px solid var(--dsw-alias-border-l1); border-radius: 10px; box-shadow: var(--dsw-shadow-lv3); padding: 6px; max-height: 300px; overflow: auto; }
57
56
  .sss-groups { display: flex; flex-direction: column; gap: 8px; }
58
57
  .sss-group-title { font-size: 11px; color: var(--dsw-alias-label-secondary); letter-spacing: .05em; padding: 2px 6px; }
@@ -102,8 +101,8 @@ window.__ModuleLoader__.load({
102
101
  const SearchIcon = React.createElement('svg', {
103
102
  className: 'sss-icon',
104
103
  viewBox: '0 0 16.5 16.5',
105
- width: 13,
106
- height: 13,
104
+ width: 16,
105
+ height: 16,
107
106
  xmlns: 'http://www.w3.org/2000/svg',
108
107
  'aria-hidden': 'true',
109
108
  }, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@objectivex666/dsh-settings-search",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "DSH settings panel search plugin – instantly filter setting sections and general items with navigation guidance. Installable via `dsh plugin add`.",
5
5
  "keywords": [
6
6
  "dsh",