ds-markdown 0.1.9-beta.4 → 0.1.9-beta.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.
Files changed (2) hide show
  1. package/dist/style.css +35 -0
  2. package/package.json +1 -1
package/dist/style.css CHANGED
@@ -1050,3 +1050,38 @@ ds-markdown-math {
1050
1050
  .ds-markdown.ds-markdown-dark .ds-tooltip--right .ds-tooltip__arrow {
1051
1051
  border-right-color: #1a1a1a;
1052
1052
  }
1053
+ .ds-segmented-container {
1054
+ display: flex;
1055
+ background-color: #f5f5f5;
1056
+ border-radius: 8px;
1057
+ padding: 1px;
1058
+ box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
1059
+ position: relative;
1060
+ min-width: 120px;
1061
+ }
1062
+ .ds-segmented-item {
1063
+ flex: 1;
1064
+ padding: 8px 16px;
1065
+ text-align: center;
1066
+ cursor: pointer;
1067
+ border-radius: 8px;
1068
+ font-size: 14px;
1069
+ font-weight: 500;
1070
+ color: #666;
1071
+ transition: all 0.2s ease;
1072
+ user-select: none;
1073
+ position: relative;
1074
+ z-index: 1;
1075
+ }
1076
+ .ds-segmented-item:hover {
1077
+ color: #333;
1078
+ }
1079
+ .ds-segmented-item.active {
1080
+ background-color: white;
1081
+ color: #333;
1082
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
1083
+ transform: translateY(-1px);
1084
+ }
1085
+ .ds-segmented-item:not(.active) {
1086
+ color: #999;
1087
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ds-markdown",
3
3
  "private": false,
4
- "version": "0.1.9-beta.4",
4
+ "version": "0.1.9-beta.5",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "types": "./dist/cjs/index.d.ts",
7
7
  "module": "./dist/esm/index.js",