@visns-studio/visns-components 6.0.4 → 6.0.5
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/package.json +1 -1
- package/src/components/DataGrid.jsx +30 -12
- package/src/components/auth/Login.jsx +203 -175
- package/src/components/columns/ColumnRenderers.jsx +34 -0
- package/src/components/generic/GenericFormBuilder.jsx +550 -25
- package/src/components/generic/GenericIndex.jsx +15 -5
- package/src/components/styles/DataGrid.module.scss +38 -22
- package/src/components/styles/Form.module.scss +32 -33
- package/src/components/styles/GenericDetail.module.scss +28 -30
- package/src/components/styles/GenericDynamic.module.scss +7 -21
- package/src/components/styles/GenericEditableTable.module.scss +5 -22
- package/src/components/styles/GenericFormBuilder.module.scss +545 -30
- package/src/components/styles/GenericIndex.module.scss +17 -32
- package/src/components/styles/GenericMain.module.scss +18 -6
- package/src/components/styles/GenericQuote.module.scss +7 -22
- package/src/components/styles/GenericReport.module.scss +5 -37
- package/src/components/styles/Login.module.scss +415 -239
- package/src/components/styles/Navigation.module.scss +124 -35
- package/src/components/styles/Profile.module.scss +5 -26
- package/src/components/styles/QuickAction.module.scss +34 -29
- package/src/components/styles/_controls.scss +139 -0
- package/src/components/styles/global.css +54 -15
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
@use 'controls' as *;
|
|
2
|
+
|
|
3
|
+
.btn {
|
|
4
|
+
@include button-primary;
|
|
5
|
+
}
|
|
1
6
|
/* Proposal System Styles (backward compatible) */
|
|
2
7
|
.proposalControls {
|
|
3
8
|
background: #f8f9fa;
|
|
@@ -680,29 +685,9 @@
|
|
|
680
685
|
border: 1px solid var(--secondary-color);
|
|
681
686
|
}
|
|
682
687
|
|
|
683
|
-
.btn {
|
|
684
|
-
width: max-content;
|
|
685
|
-
display: inline-block;
|
|
686
|
-
position: relative;
|
|
687
|
-
padding: 0.65rem 1rem;
|
|
688
|
-
cursor: pointer;
|
|
689
|
-
font-size: 1rem;
|
|
690
|
-
color: var(--tertiary-color);
|
|
691
|
-
text-decoration: none;
|
|
692
|
-
overflow: hidden;
|
|
693
|
-
background: var(--primary-color);
|
|
694
|
-
border: 1px solid rgba(var(--primary-color--rgb), 1.1);
|
|
695
|
-
border-radius: var(--br);
|
|
696
|
-
outline: none;
|
|
697
|
-
transition: all 0.2s cubic-bezier(0.85, 0, 0.15, 1) 0s;
|
|
698
|
-
font-size: 1.25em;
|
|
699
|
-
}
|
|
700
688
|
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
background: var(--highlight-color);
|
|
704
|
-
border: 1px solid rgba(var(--highlight-rgb), 1.05);
|
|
705
|
-
}
|
|
689
|
+
|
|
690
|
+
|
|
706
691
|
|
|
707
692
|
.crmtitle {
|
|
708
693
|
min-height: auto;
|
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
@use 'controls' as *;
|
|
2
|
+
|
|
3
|
+
.btn {
|
|
4
|
+
@include button-primary;
|
|
5
|
+
}
|
|
1
6
|
// Use project root CSS variables instead of local SCSS variables
|
|
2
7
|
// This allows the component to adapt to different project themes
|
|
3
8
|
|
|
@@ -2140,44 +2145,7 @@
|
|
|
2140
2145
|
}
|
|
2141
2146
|
|
|
2142
2147
|
// Buttons
|
|
2143
|
-
.btn {
|
|
2144
|
-
display: inline-flex;
|
|
2145
|
-
align-items: center;
|
|
2146
|
-
justify-content: center;
|
|
2147
|
-
gap: 8px;
|
|
2148
|
-
padding: 12px calc(var(--padding) * 1.5);
|
|
2149
|
-
border: none;
|
|
2150
|
-
border-radius: var(--radius);
|
|
2151
|
-
font-size: 0.875rem;
|
|
2152
|
-
font-weight: 600;
|
|
2153
|
-
cursor: pointer;
|
|
2154
|
-
transition: all 0.2s ease;
|
|
2155
|
-
text-decoration: none;
|
|
2156
|
-
min-height: 44px;
|
|
2157
|
-
position: relative;
|
|
2158
|
-
overflow: hidden;
|
|
2159
2148
|
|
|
2160
|
-
&:disabled {
|
|
2161
|
-
opacity: 0.5;
|
|
2162
|
-
cursor: not-allowed;
|
|
2163
|
-
transform: none !important;
|
|
2164
|
-
}
|
|
2165
|
-
|
|
2166
|
-
&:focus {
|
|
2167
|
-
outline: 2px solid rgba(var(--primary-rgb), 0.3);
|
|
2168
|
-
outline-offset: 2px;
|
|
2169
|
-
}
|
|
2170
|
-
|
|
2171
|
-
&:active:not(:disabled) {
|
|
2172
|
-
transform: translateY(1px);
|
|
2173
|
-
}
|
|
2174
|
-
|
|
2175
|
-
svg {
|
|
2176
|
-
width: 16px;
|
|
2177
|
-
height: 16px;
|
|
2178
|
-
flex-shrink: 0;
|
|
2179
|
-
}
|
|
2180
|
-
}
|
|
2181
2149
|
|
|
2182
2150
|
.btnPrimary {
|
|
2183
2151
|
background-color: var(--primary-color);
|