@brainfish-ai/components 0.12.2 → 0.13.0-rc.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@brainfish-ai/components",
3
- "version": "0.12.2",
3
+ "version": "0.13.0-rc.2",
4
4
  "description": "Brainfish Components",
5
5
  "license": "MIT",
6
6
  "module": "./dist/esm/index.js",
@@ -140,6 +140,7 @@
140
140
  "@radix-ui/react-select": "^2.1.6",
141
141
  "@radix-ui/react-switch": "^1.1.2",
142
142
  "@radix-ui/react-tooltip": "^1.1.6",
143
+ "@tanstack/react-table": "^8.21.3",
143
144
  "ajv": "^8.17.1",
144
145
  "cmdk": "^1.1.1",
145
146
  "framer-motion": "^11.15.0",
@@ -139,6 +139,7 @@ module.exports = {
139
139
  const hexValue = borderColor.replace('#', '');
140
140
 
141
141
  addUtilities({
142
+ // Original full border
142
143
  '.custom-dashed-border': {
143
144
  'background-image': `url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3crect width='100%25' height='100%25' fill='none' rx='8' ry='8' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-dashoffset='0' stroke-linecap='square'/%3e%3c/svg%3e")`,
144
145
  'border': 'none',
@@ -150,6 +151,50 @@ module.exports = {
150
151
  'border': '1px solid rgb(var(--bfc-border))',
151
152
  'box-shadow': '4px 4px 0 0 rgb(var(--bfc-border))',
152
153
  },
154
+
155
+ // Directional dashed borders using SVG for consistent dash patterns
156
+ '.custom-dashed-border-t': {
157
+ 'background-image': `url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='0' y1='0' x2='100%25' y2='0' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3c/svg%3e")`,
158
+ 'background-repeat': 'no-repeat',
159
+ 'background-position': 'top',
160
+ 'border': 'none',
161
+ 'transition': 'box-shadow 0.2s ease-in-out',
162
+ },
163
+ '.custom-dashed-border-r': {
164
+ 'background-image': `url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='100%25' y1='0' x2='100%25' y2='100%25' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3c/svg%3e")`,
165
+ 'background-repeat': 'no-repeat',
166
+ 'background-position': 'right',
167
+ 'border': 'none',
168
+ 'transition': 'box-shadow 0.2s ease-in-out',
169
+ },
170
+ '.custom-dashed-border-b': {
171
+ 'background-image': `url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='0' y1='100%25' x2='100%25' y2='100%25' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3c/svg%3e")`,
172
+ 'background-repeat': 'no-repeat',
173
+ 'background-position': 'bottom',
174
+ 'border': 'none',
175
+ 'transition': 'box-shadow 0.2s ease-in-out',
176
+ },
177
+ '.custom-dashed-border-l': {
178
+ 'background-image': `url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='0' y1='0' x2='0' y2='100%25' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3c/svg%3e")`,
179
+ 'background-repeat': 'no-repeat',
180
+ 'background-position': 'left',
181
+ 'border': 'none',
182
+ 'transition': 'box-shadow 0.2s ease-in-out',
183
+ },
184
+
185
+ // Combined directional borders
186
+ '.custom-dashed-border-x': {
187
+ 'background-image': `url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='0' y1='0' x2='0' y2='100%25' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3cline x1='100%25' y1='0' x2='100%25' y2='100%25' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3c/svg%3e")`,
188
+ 'background-repeat': 'no-repeat',
189
+ 'border': 'none',
190
+ 'transition': 'box-shadow 0.2s ease-in-out',
191
+ },
192
+ '.custom-dashed-border-y': {
193
+ 'background-image': `url("data:image/svg+xml,%3csvg width='100%25' height='100%25' xmlns='http://www.w3.org/2000/svg'%3e%3cline x1='0' y1='0' x2='100%25' y2='0' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3cline x1='0' y1='100%25' x2='100%25' y2='100%25' stroke='%23${hexValue}' stroke-width='2' stroke-dasharray='5%2c 10' stroke-linecap='square'/%3e%3c/svg%3e")`,
194
+ 'background-repeat': 'no-repeat',
195
+ 'border': 'none',
196
+ 'transition': 'box-shadow 0.2s ease-in-out',
197
+ },
153
198
  });
154
199
  }),
155
200
  ],